AI Wiki中文/EN

UMAP: build a local graph, then optimize its layout

UMAP

Compute local memberships, fuzzy union and a full low-dimensional cross-entropy optimization, with explicit numerical and interpretation limits.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

Build a weighted neighborhood, then lay it out

Six archive items have measured coordinates (0,0), (1,0), (3,1), (9,4), (11,4), (14,6). We want a one-dimensional arrangement that keeps important local relationships visible. A straight projection is one option. UMAP takes another route: construct locally scaled neighbor connections, combine them into a weighted graph, then move low-dimensional points to represent that graph.

These are two computational stages. Constructing the graph alone does not produce an embedding. Our complete teaching program performs both: it computes a small graph and then optimizes all displayed coordinates. Its full edge cross entropy decreases from about 6.889781 to 3.209096 over 100 accepted updates.

The graph and objective come from the UMAP framework, but this is a deliberately small variant: exact neighbor search, one-dimensional output, a fixed curve exponent, supplied initialization and full-gradient descent. It is not a reimplementation of every default in umap-learn. The original work motivates the construction using geometry and topology; the practical representation here is its weighted graph of pairwise connections. Author paper, 2020 revision

Local memberships are not a normalized probability table

Fit a local distance scale

Select k nearest other records for each observation. In this chapter’s convention, self is excluded and k is the number retained. Let Nᵢ be that set. For distinct input coordinates, ρᵢ is the nearest positive distance. Choose a positive scale σᵢ such that:

ρi=min⁡j∈Nid(xi,xj),uij={exp⁡ ⁣(−max⁡(0,d(xi,xj)−ρi)σi),j∈Ni,0,j∉Ni,∑j∈Niuij=log⁡2k.\rho_i=\min_{j\in N_i}d(x_i,x_j),\qquad u_{ij}=\begin{cases}\exp\!\left(-\dfrac{\max(0,d(x_i,x_j)-\rho_i)}{\sigma_i}\right),&j\in N_i,\\0,&j\notin N_i,\end{cases} \qquad \sum_{j\in N_i}u_{ij}=\log_2 k.

A nearest neighbor gets membership one. Beyond that local offset, membership decays exponentially. Increasing σ spreads membership across the retained neighbors. The target fixes a local total membership, not Shannon entropy. This is different from t-SNE’s perplexity, and the row sum is generally not one. The scale construction is described in the paper’s practical algorithm.

For our strict interior search, the number m of neighbors tied at distance ρ must be below log₂ k. The total tends to m as σ tends to zero and to k as σ tends to infinity. If m is already too large, the equation cannot be met by a finite positive scale. The program rejects that case instead of silently assigning a scale. Boundary ties when selecting k neighbors are broken by original row index; this differs from keeping every tie. Duplicate coordinates are excluded in this teaching version.

Combine the two directions

The local scales can make uᵢⱼ and uⱼᵢ different. A fuzzy union combines them:

μij=uij+uji−uijuji=1−(1−uij)(1−uji),μii=0.\mu_{ij}=u_{ij}+u_{ji}-u_{ij}u_{ji}=1-(1-u_{ij})(1-u_{ji}),\qquad \mu_{ii}=0.

The result is symmetric and stays between zero and one. The complement form resembles the chance that at least one of two independent edge proposals exists; it defines the chosen combination rule. It does not establish empirical independence or turn measured data into a calibrated probability model. If either membership is one, the combined edge is one. Two memberships of 0.4 combine to 0.64, not 0.8. No global normalization follows. Fixed official explanation

Give the low-dimensional graph a different membership curve

For low-dimensional coordinates, use a shared decreasing curve. The general family has positive parameters a and b; the implementation fixes b = 1 and accepts a:

qij=(1+a∥yi−yj∥2b)−1,L(Y)=−∑i<j[μijlog⁡qij+(1−μij)log⁡(1−qij)].q_{ij}=(1+a\lVert y_i-y_j\rVert^{2b})^{-1},\qquad L(Y)=-\sum_{i<j}\left[\mu_{ij}\log q_{ij}+(1-\mu_{ij})\log(1-q_{ij})\right].

This sum uses each unordered pair once, including nonedges with μ = 0. It is a sum of binary cross entropies, not one categorical distribution over all pairs. The paper’s fuzzy-set divergence additionally includes terms depending only on μ; removing that constant leaves the same minimizers. Summing both directions instead would double the objective and gradient. Unlike t-SNE, the low-dimensional q values have no shared normalizing denominator. Paper, Definition 10 and optimization

The attractive term discourages separating strong edges; the other term discourages placing weak edges or nonedges too close. Neither term can be dropped while claiming to optimize this full objective. For one scalar pair, write δ = yᵢ−yⱼ and fix b = 1. When δ is nonzero:

ℓij=log⁡(1+aδ2)−(1−μij)log⁡(aδ2),∂ℓij∂δ=2[aδ1+aδ2−1−μijδ].\ell_{ij}=\log(1+a\delta^2)-(1-\mu_{ij})\log(a\delta^2),\qquad \frac{\partial\ell_{ij}}{\partial\delta}=2\left[\frac{a\delta}{1+a\delta^2}-\frac{1-\mu_{ij}}{\delta}\right].

Differentiating the two logarithms gives this force directly. Add it to coordinate i’s gradient and subtract it from j’s gradient. The total gradient therefore sums to zero, consistent with translation invariance. For an isolated pair with 0 < μ < 1, the best squared separation is (1−μ)/(aμ), where q equals μ. A whole graph generally cannot realize every pair’s preferred distance simultaneously.

At δ = 0, q = 1. If μ < 1, the cross entropy is infinite; if μ = 1, the pair contributes zero and its gradient is zero. The program handles those two cases separately. It uses the logarithmic expression above, avoiding numerical subtraction of a q value very close to one. This is still floating-point arithmetic: underflow or overflow in a trial can make that trial unavailable.

A complete graph-to-coordinate calculation

Run this Python 3.10+ standard-library program. It accepts 4–12 distinct records with 1–4 aligned integer features in [-100,100]. The supplied initial scalar coordinates must be finite numbers in that range. The other limits are 3 ≤ k < n, 0.01 ≤ a ≤ 100, 0–200 steps and initial step size in (0,10]; booleans are rejected. These are explicit teaching restrictions. In particular, this k counts other records and should not be assumed to match an API’s internal self-neighbor convention.

memberships and objective are internal helpers for the validated calculation. Scale search uses at most 80 bracket expansions and 80 bisections, with local mass tolerance 1e-10. The graph union is clipped to [0,1] only to contain floating-point roundoff. This clip is not an extra learned parameter.

The coordinate optimizer uses the full analytic gradient, halves a rejected step and requires Armijo decrease with coefficient 1e-4. There are at most 40 trial steps per update. It recenters each proposal, preserving pairwise distances. No negative sampling or automatic min_dist curve fitting is used.

import math


def memberships(distances):
    """Internal helper: k selected positive neighbor distances, no self entry."""
    rho = min(distances); target = math.log2(len(distances))
    shifted = tuple(d-rho for d in distances)
    if sum(d==0 for d in shifted) >= target:
        raise ValueError('nearest-distance ties make this local mass target infeasible')
    def at(beta):
        row = tuple(math.exp(-beta*d) for d in shifted)
        return row,math.fsum(row)
    lo,hi = 0.0,1.0
    for _ in range(80):
        if at(hi)[1] <= target: break
        hi *= 2
    else: raise ArithmeticError('local scale bracket not found')
    for _ in range(80):
        beta = (lo+hi)/2;row,total=at(beta)
        if abs(total-target)<=1e-10:return row,rho,1/beta
        if total>target:lo=beta
        else:hi=beta
    raise ArithmeticError('local mass tolerance not reached')


def objective(y, graph, a):
    """Full unordered-pair binary cross entropy with b=1; None if undefined."""
    n=len(y);terms=[];g=[0.0]*n;q=[[0.0]*n for _ in y]
    if not all(math.isfinite(v) for v in y):return None
    for i in range(n):
        for j in range(i):
            mu=graph[i][j];delta=y[i]-y[j]
            if delta==0:
                if mu<1:return None
                q[i][j]=q[j][i]=1.0
                continue
            square=delta*delta;scaled=a*square
            if square==0 or not math.isfinite(scaled):return None
            value=math.log1p(scaled)
            if mu<1:value-=(1-mu)*(math.log(a)+2*math.log(abs(delta)))
            force=2*(a*delta/(1+scaled)-(1-mu)/delta)
            if not math.isfinite(value) or not math.isfinite(force):return None
            terms.append(value);g[i]+=force;g[j]-=force
            q[i][j]=q[j][i]=1/(1+scaled)
    try:loss=math.fsum(terms)
    except OverflowError:return None
    if not math.isfinite(loss) or not all(map(math.isfinite,g)):return None
    return loss,tuple(g),tuple(tuple(row) for row in q)


def fit_umap(points, initial, k=3, a=1, steps=100, rate=1):
    if type(points) not in (list,tuple) or not 4<=len(points)<=12:
        raise ValueError('provide 4 to 12 points')
    if any(type(row) not in (list,tuple) for row in points):raise ValueError('point rows required')
    n=len(points);d=len(points[0])
    if not 1<=d<=4 or any(len(row)!=d for row in points):raise ValueError('use 1 to 4 aligned features')
    if any(type(x) is not int or abs(x)>100 for row in points for x in row):
        raise ValueError('integer input features in [-100,100] required')
    xs=tuple(tuple(row) for row in points)
    if len(set(xs))!=n:raise ValueError('this example excludes duplicate input coordinates')
    if type(k) is not int or not 3<=k<n:raise ValueError('k counts other records: 3 <= k < n')
    if type(initial) not in (list,tuple) or len(initial)!=n:raise ValueError('one initial scalar per record')
    if any(type(x) not in (int,float) or not -100<=x<=100 for x in initial):
        raise ValueError('finite initial values in [-100,100] required')
    if type(a) not in (int,float) or not .01<=a<=100:raise ValueError('a must lie in [0.01,100]')
    if type(rate) not in (int,float) or not 0<rate<=10:raise ValueError('rate must lie in (0,10]')
    if type(steps) is not int or not 0<=steps<=200:raise ValueError('integer steps in 0..200 required')
    sq=tuple(tuple(sum((u-v)**2 for u,v in zip(x,z)) for z in xs) for x in xs)
    neighbors=tuple(tuple(sorted((j for j in range(n) if j!=i),key=lambda j:(sq[i][j],j))[:k]) for i in range(n))
    directed=[[0.0]*n for _ in xs];rhos=[];sigmas=[]
    for i,ids in enumerate(neighbors):
        weights,rho,sigma=memberships(tuple(math.sqrt(sq[i][j]) for j in ids))
        for j,w in zip(ids,weights):directed[i][j]=w
        rhos.append(rho);sigmas.append(sigma)
    graph=tuple(tuple(min(1.0,max(0.0,directed[i][j]+directed[j][i]-directed[i][j]*directed[j][i]))
                      for j in range(n)) for i in range(n))
    center=math.fsum(initial)/n;y=tuple(float(v-center) for v in initial)
    result=objective(y,graph,a)
    if result is None:raise ValueError('initial embedding has undefined or unrepresentable objective')
    loss,grad,q=result;trace=[(y,loss,0.0)];status='step-limit'
    for _ in range(steps):
        if max(map(abs,grad))<=1e-10:status='stationary';break
        try:norm2=math.fsum(g*g for g in grad)
        except OverflowError:norm2=float('inf')
        if not math.isfinite(norm2):status='numerical-gradient';break
        eta=float(rate)
        for _ in range(40):
            proposal=tuple(x-eta*g for x,g in zip(y,grad))
            center=math.fsum(proposal)/n;proposal=tuple(x-center for x in proposal)
            trial=objective(proposal,graph,a)
            if trial is not None and trial[0]<=loss-1e-4*eta*norm2:break
            eta/=2
        else:status='line-search-failed';break
        y=proposal;loss,grad,q=trial;trace.append((y,loss,eta))
    return {'embedding':y,'neighbors':neighbors,'rhos':tuple(rhos),'sigmas':tuple(sigmas),
            'directed':tuple(tuple(row) for row in directed),'graph':graph,'q':q,
            'loss':loss,'gradient':grad,'trace':tuple(trace),
            'steps_completed':len(trace)-1,'status':status}


if __name__=='__main__':
    xs=((0,0),(1,0),(3,1),(9,4),(11,4),(14,6))
    r=fit_umap(xs,(-3,-2,-1,1,2,3))
    print('cross entropy:',format(r['trace'][0][1],'.6f'),'->',format(r['loss'],'.6f'))
    print('embedding:',tuple(round(x,4) for x in r['embedding']))
    print('directed row masses:',tuple(round(sum(row),6) for row in r['directed']))
    print('symmetric edge mass:',format(sum(map(sum,r['graph']))/2,'.6f'))
    print('completed:',r['steps_completed'],r['status'])

Actual output:

cross entropy: 6.889781 -> 3.209096
embedding: (-2.2451, -2.0526, -1.8194, 1.7832, 2.0488, 2.2852)
directed row masses: (1.584963, 1.584963, 1.584963, 1.584963, 1.584963, 1.584963)
symmetric edge mass: 5.955514
completed: 100 step-limit

All directed row masses are approximately log₂ 3, or 1.584963. The symmetric edge mass is about 5.955514, plainly not one. The output coordinates have moved: this is an optimized layout, not just a neighborhood report.

trace retains the initial model and accepted coordinates, loss and step size. step-limit records work, stationary records a maximum absolute gradient component at most 1e-10, and line-search-failed retains the last accepted state when no trial is acceptable. numerical-gradient stops before updating if the squared gradient norm cannot be represented. An undefined or unrepresentable initial objective raises ValueError. Invalid trials are rejected rather than returned. The program does not claim to detect every loss of floating-point precision.

The reported loss need not approach zero. Even a free single edge with fractional μ has positive binary entropy at q = μ. Geometric compatibility imposes further restrictions on the whole map. The objective is nonconvex; descent and a small gradient do not certify a globally optimal representation.

For n records, d features, k retained neighbors, at most A local-scale evaluations per row, T attempted updates and at most B trial evaluations per update, work is O(n²d + n² log(n+1) + Ank + BTn²). Here A ≤ 160 and B ≤ 40. The dense input and graph arrays use O(n²) storage, and the retained coordinate trace adds O(Tn). This is intentionally an all-pairs teaching cost, not a claim about approximate neighbor search or sampled optimization in production UMAP.

Neighborhood, display curve and interpretation are separate choices

k changes the graph. A small neighborhood can miss connections between regions; a larger one can connect them while losing finer detail. There is no universal k that reveals the correct classes. Input feature scaling and the distance function determine which neighbors are selected before the layout starts. Compare graph changes as well as pictures. The fixed parameter guide discusses the neighborhood-scale tradeoff.

min_dist is not a hard constraint in this objective. In ordinary UMAP, min_dist helps determine the fitted low-dimensional curve parameters a and b. That curve expresses a preferred local arrangement; it does not require every pair of output coordinates to be at least min_dist apart. Our implementation accepts a and fixes b = 1, so it does not expose a min_dist parameter or reproduce the usual curve fit. Changing a leaves the input graph fixed but changes how distances represent its memberships.

The full objective and a sampled optimizer are different implementation levels. Official UMAP uses neighbor-search and optimization approximations, including negative sampling. The all-pairs calculation here makes attractive and repulsive contributions inspectable. It is not a numerical prediction of a library run with the same apparent parameter names. Official construction and algorithm

A picture is not a topology certificate. Local manifold assumptions motivate graph construction, but finite data, measurement noise, metric choices and optimization can all change the result. An apparent island does not establish a biological class, causal mechanism or stable population boundary. Adaptive local scaling also means displayed density is not a direct estimate of original sampling density. Investigate claims on the original measurements and with suitable external evidence.

Disconnected graph components have no attractive edges between them in this objective; repulsion can continue moving them apart. Their final relative placement is not a calibrated global distance. The one-dimensional example also sacrifices relationships that a higher-dimensional display might retain. A nonparametric fit supplies coordinates for these records; this program has no new-record transform. Library transform features are separate algorithms and need their own reference and evaluation protocol.

Check what the graph and loss actually mean

1. Two directed memberships are 0.4. What is their combined value, and must the whole graph sum to one?

Answer: The union is 0.4 + 0.4 − 0.4 × 0.4 = 0.64. There is no global normalization. In the executed example, the total over unordered edges is about 5.955514. Treating these memberships as one categorical probability distribution would define a different target.

2. For a pair with μ = 1/4 and a = b = 1, which separation minimizes its loss?

Answer: Set the derivative to zero. The squared separation is (1−1/4)/(1/4) = 3, so the absolute separation is √3 and q = 1/4. The minimum cross entropy is the positive Bernoulli entropy of 1/4, not zero. This calculation concerns one free pair, not a guarantee that all graph edges can attain their separate optima.

3. A local row selects three neighbors, two of which tie at the nearest distance. Can the scale search reach log₂ 3?

Answer: No. Those two memberships stay one for every positive scale, so the row mass is at least two. The target log₂ 3 is about 1.585. This implementation rejects the row. More search iterations cannot change that feasibility condition; choosing another neighborhood or numerical convention changes the model.

4. Why reject a coincident pair with μ below one, but allow it when μ equals one?

Answer: Coincidence makes q = 1. With μ below one, the nonedge term has positive weight and contains −log(1−q), which diverges. With μ = 1, that term has zero weight and the remaining loss is −log q = 0. The code uses the limiting valid value in the second case and returns an unavailable trial in the first; it does not silently add a distance offset.

Read the theory and the implementation at their own levels

McInnes, Healy and Melville’s author paper connects local metric approximations, fuzzy unions and a low-dimensional matching objective. The work first appeared as an arXiv preprint in 2018; the cited revision is dated September 2020. Its graph construction and optimization are useful to study separately from broad claims about how much global structure a particular map preserves.

The fixed official explanation supplies an accessible route through local connectivity, fuzzy edge union and layout. Compare t-SNE, whose output pair distribution is globally normalized, and spectral clustering, which uses graph eigenvectors for a different objective. Similar-looking visualizations can optimize different mathematical quantities.

Make a prediction, then check

The graph has two directional memberships 0.4 and 0.4. Which symmetric edge target is used?

Choose one answer

Learning objectives

  • Compute locally scaled memberships and a symmetric fuzzy union without treating them as a globally normalized table.
  • Derive and actually optimize a full low-dimensional edge cross entropy, including attraction and repulsion.
  • Separate neighborhood scale, soft layout parameters, numerical limits and semantic interpretation.

Prerequisites & connections

Explore related knowledge →

References

  1. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction — arXiv v3
    Leland McInnes; John Healy; James Melville · 2018
  2. How UMAP Works — official release-0.5.7 documentation
    UMAP developers
  3. Basic UMAP Parameters — official release-0.5.7 documentation
    UMAP developers

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-05 · Codex technical check: primary-source locations, original runnable models, independent mathematical and computational references, bilingual review and second-agent cross-checks; not independent human peer review.

  • Eight tests pass. A closed quadratic equation in exp(-1/sigma) independently verifies the local scale for distances 1,2,3. Three small graph constructions are checked by pair-comparison ranks, reconstructed local weights/masses and explicit Bernoulli-OR states rather than simply repeating the union expression.
  • Two separate synthetic graphs with three and four vertices are evaluated by enumerating complete Bernoulli graph states and summing expected negative log joint likelihoods in 70-digit Decimal arithmetic. Seven coordinate derivatives are checked by central differences of that whole-graph expectation with step 1e-16, distinct from the implemented pairwise analytic force. A one-edge analytic optimum checks q=1/4 at squared distance three; collisions with unit versus fractional edge weight and subnormal distance rejection are tested.
  • Verified 100 genuine coordinate updates and their implemented Armijo checks, translation/reflection, fixed input graph under a change in a, copied inputs and twelve invalid configurations. Test stubs force rejection of all 40 trials and overflow of the squared gradient norm to audit failure-state retention; these are injected control-flow checks, not natural numerical counterexamples.
  • Complete bilingual original prose has identical runnable Python, five actual stdout lines, four displayed formulas, six anchors and four answered exercises. Strict MDX/KaTeX and actual React HTML pass; all four math annotations match. Pinned Humanizer prose review completed. Every related route uses an actual catalogue ID.
  • Review remains written with AI author checks only. A bounded scalar full-gradient variant implements the complete graph-to-layout calculation, with b=1, supplied a/initial coordinates, no min_dist fitting or negative sampling, a strict other-record k convention and explicit collision/numerical domains. Nonconvexity, omitted constant entropy, non-normalized memberships, all-pairs complexity, disconnected-component placement and interpretation limits are stated. No complete production UMAP equivalence, topological guarantee, benchmark, human review or whole-site acceptance claim.
  • Root reread complete bilingual articles and runnable program, checked all four equations and four answers, and reran eight author tests plus strict MDX/KaTeX/React HTML. Both languages have four displays and the six standard anchors. No modifications; frozen hashes match.
  • Independent scale covariance checks use a=s², initial Y/s and learning rate eta/s² for s=0.5,2,3. Three complete 12-update trajectories preserve graph, loss, memberships and status; coordinates and gradients follow inverse/direct scaling at all 13 accepted states, within 3e-9 tolerance. This checks graph-to-layout coupling without duplicating the author’s high-precision derivative reference.
  • Reviewed nearest-tie feasibility, k counting other records, non-normalized union, constant entropy omission, b=1 scope, collision limits, accepted-only trace and nonconvex interpretation. Production UMAP equivalence and topology guarantees are not claimed.
  • Promoted the full prose, equations, code and exercises. Tests read formal MDX only; removed temporary fallbacks/draft skips and updated review assertion to checked. Algorithm and independent references are unchanged; final record binds both locale hashes.
  • Publication navigation points published topics to complete articles and removes corresponding pending wording, retaining directory entries for unwritten targets. Principles, equations, programs and exercises are unchanged; final article SHA values rebound.

Source locations checked:

  • UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction — arXiv v3 · Actually opened arXiv v3 abstract/history and the 63-page author PDF. History identifies first submission 9 February 2018 and v3 submission 18 September 2020; PDF cover says 21 September 2020. Read Definition 10 on physical page 12 for fuzzy-set divergence; practical graph construction on pages 14–15 for positive-neighbor rho and mass log2(k); Algorithms 1–3 on pages 18–19 and optimization on pages 20–21 for fuzzy union, scale search, binary cross entropy and the smooth a,b curve fitted using min-dist. Appendix C, pages 56–57, explicitly contrasts global normalization and provides the same union/curve family. Read the negative-sampling discussion on pages 20–22, without adopting its general performance claims. No proof audit of the full topology framework or visual PDF inspection; no source examples, code or figures copied.
  • How UMAP Works — official release-0.5.7 documentation · Actually read the downloaded raw official release-0.5.7 doc/how_umap_works.rst at /tmp/aiwiki-next-umap/source-release-0.5.7-how_umap_works.rst, particularly lines 335–365 local connectivity; 400–420 probabilistic union; 444–521 layout, Bernoulli interpretation, full edge divergence and forces; 525–558 approximation, curve family, negative sampling and spectral initialization. Parent downloaded this pinned tag and resolved its commit with GitHub API; I read the resulting local file. Earlier web attempts with a nonexistent tag lacking the release- prefix and a ReadTheDocs version URL failed. No library code execution or automatic curve fit claimed.
  • Basic UMAP Parameters — official release-0.5.7 documentation · Actually read downloaded fixed doc/parameters.rst lines 118–192 on n_neighbors and scale tradeoff, plus lines 194–207 on min_dist. Did not carry over the guide’s literal minimum-allowed-distance wording: the original smooth curve objective supplies a preference, not a hard pairwise inequality. Read the nearby basic_usage model representation to identify its separate spread option but omitted that unnecessary claim from this draft. Parameter plots and source example datasets were not reproduced.
  • UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction — arXiv v3 · Root independently read the arXiv v3 submission history (2018-02-09 initial, 2020-09-18 v3), author PDF cover (2020-09-21), Definition 10 lines 413–439, positive-neighbor scale equation lines 519–529, Algorithms 2–3 lines 662–679, fixed entropy term and negative sampling lines 688–729, and fitted soft curve/Algorithm 5 lines 732–764. No audit of the full topology proof or benchmark claims.
  • How UMAP Works — official release-0.5.7 documentation · Root independently read the downloaded official release-0.5.7 how_umap_works.rst: local connectivity lines 335–365; union 400–420; full edge divergence/forces and approximate optimizer 444–558. Checked full-pair scalar teaching objective is explicitly distinguished from negative-sampled library optimization.
  • Basic UMAP Parameters — official release-0.5.7 documentation · Root independently read fixed parameters.rst lines 118–125 and 176–207. Local/global neighborhood tradeoff retained; literal minimum-allowed-distance wording not adopted because the original fitted smooth curve is not a hard pairwise constraint.

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.