MCPcopy Create free account

hub / github.com/apple/embedding-atlas / functions

Functions2,512 in github.com/apple/embedding-atlas

↓ 4 callersFunctionmakeModuleUniforms
(df: Dataflow, device: DataflowNode<GPUDevice>)
packages/component/src/lib/webgpu_renderer/uniforms.ts:106
↓ 4 callersFunctionmake_forest
Build an RP forest of n_trees trees.
packages/umap/nndescent/src/rp_trees.rs:433
↓ 4 callersFunctionmake_heap
Create a new heap initialized with -1 indices, inf distances, and 0 flags.
packages/umap/nndescent/src/heap.rs:15
↓ 4 callersFunctionmapped
(column: T[], mapper: (x: T) => V, indices?: number[])
packages/viewer/src/charts/spec/layer_helper.ts:22
↓ 4 callersMethodmetric
Distance metric name. Default: "euclidean".
packages/umap/umap/src/lib.rs:399
↓ 4 callersFunctionmomentum
()
packages/umap/umap/src/gpu_layout_modern.rs:1005
↓ 4 callersMethodn_components
Target embedding dimension. Default: 2.
packages/umap/umap/src/lib.rs:381
↓ 4 callersFunctionnormalizeKey
(key: any)
packages/component/src/lib/embedding_view/data/key_index.ts:82
↓ 4 callersFunctionpost
(message)
packages/umap/benchmark/browser/benchmark.worker.js:210
↓ 4 callersFunctionpredicateToString
(predicate: ReturnType<Selection["predicate"]>)
packages/viewer/src/utils/database.ts:31
↓ 4 callersFunctionrandom_layout
Random embedding in [-10, 10]^dim.
packages/umap/umap/src/spectral.rs:1098
↓ 4 callersMethodreinit_embedding
Replace the embedding and reset the schedule, epoch, and optimizer state — i.e. a full restart of the layout optimization from a new initial position.
packages/umap/umap/src/optimize.rs:864
↓ 4 callersMethodreset
* Re-initialize the embedding and restart from epoch 0. Default method: "spectral". * `data` is the same `count * inputDim` Float32Array that was g
packages/umap/umap-wasm/index.d.ts:241
↓ 4 callersMethodrow_sums
Compute row sums (degree vector).
packages/umap/umap/src/graph.rs:247
↓ 4 callersFunctionrun
()
packages/umap/umap-wasm/index.js:211
↓ 4 callersFunctionrust_binary_path
Return path to a compiled Rust benchmark binary.
packages/umap/benchmark/benchmark/common.py:38
↓ 4 callersFunctionsafeJSONStringify
(value: any, space?: number)
packages/viewer/src/renderers/renderer_utils.ts:71
↓ 4 callersMethodsearch
(query: any, mode: string)
packages/viewer/src/stores/search_store.ts:98
↓ 4 callersMethodset_good_initialization
Select the shorter Momentum/Adam warm-up for an already good initial layout.
packages/umap/umap/src/optimize.rs:490
↓ 4 callersMethodset_n_epochs
Set the schedule horizon that [`step`](Self::step) uses for Momentum and Adam. [`run_to`](Self::run_to) sets it to its target.
packages/umap/umap/src/optimize.rs:478
↓ 4 callersFunctionstableWritable
(value: T)
packages/viewer/src/utils/store.ts:62
↓ 4 callersMethodsymmetrize
Apply fuzzy set union: result = mix*(A + A^T - A∘A^T) + (1-mix)*(A∘A^T), where A∘A^T is the element-wise (Hadamard) product. The result is symmetric,
packages/umap/umap/src/graph.rs:65
↓ 4 callersMethodto_csr
Convert to CSR format for efficient row access. The graph is already CSR, so this is a copy into the standalone [`CsrMatrix`] type.
packages/umap/umap/src/graph.rs:159
↓ 4 callersFunctionvalueForEvent
(e: MouseEvent)
packages/utils/src/interaction_handler.ts:60
↓ 3 callersMethod_cache_index_key
(self)
packages/backend/embedding_atlas/data_source.py:56
↓ 3 callersFunction_decrypt_data
(encrypted_data: bytes, key: bytes)
packages/backend/embedding_atlas/cache.py:398
↓ 3 callersFunction_encrypt_data
(data: bytes, key: bytes)
packages/backend/embedding_atlas/cache.py:383
↓ 3 callersFunction_run_umap
( hidden_vectors: np.ndarray, *, umap_args: dict | None = None, )
packages/backend/embedding_atlas/projection.py:448
↓ 3 callersMethodaddInput
(node: BaseNode)
packages/utils/src/dataflow.ts:15
↓ 3 callersFunctionanchor_reference
( data: Option<&Array2<f32>>, n_samples: usize, n_components: usize, method: AnchorMethod,
packages/umap/umap/src/recursive_init.rs:355
↓ 3 callersFunctionassert_components_separated
Components are separated when every pair of component centers is farther apart than the mean distance of the vertices to their own center.
packages/umap/umap/src/spectral.rs:1359
↓ 3 callersFunctionassert_quality_matches_cpu
Full runs on both backends reach comparable quality.
packages/umap/umap/src/gpu_layout_modern.rs:1328
↓ 3 callersFunctionbase64Encode
(data: Uint8Array)
packages/utils/src/media.ts:226
↓ 3 callersFunctionbitsetForEach
(bits: Uint32Array, fn: (p: number) => void)
packages/component/src/lib/embedding_view/data/key_index.ts:112
↓ 3 callersFunctionbrute_force_knn
Brute-force k-nearest neighbor computation for reference. Includes self-neighbor (distance 0) at position 0, consistent with pynndescent.
packages/umap/nndescent/tests/test_nn_descent.rs:25
↓ 3 callersMethodbuild_async
Run UMAP asynchronously (for WASM with GPU): build the graph + initial embedding, then optimize to completion. Output matches [`build`](Self::build).
packages/umap/umap/src/lib.rs:596
↓ 3 callersFunctionbuild_rust
Build a Rust benchmark binary in release mode.
packages/umap/benchmark/benchmark/common.py:120
↓ 3 callersFunctioncenter_columns_f64
(m: &mut Array2<f64>)
packages/umap/umap/src/recursive_init.rs:1122
↓ 3 callersFunctioncentered_columns
Subtract the mean of the finite entries of each column; non-finite entries become 0.
packages/umap/umap/src/recursive_init.rs:460
↓ 3 callersMethodcleanup
()
packages/viewer/src/charts/spec/runtime.ts:184
↓ 3 callersFunctioncomponent_ranges
(sizes: &[usize])
packages/umap/umap/src/spectral.rs:1336
↓ 3 callersFunctioncomputeFieldStats
( coordinator: Coordinator, table: SQL.FromExpr, field: SQL.ExprNode, )
packages/viewer/src/charts/common/aggregate.ts:107
↓ 3 callersFunctioncompute_pagerank_column
Compute PageRank scores from a DataFrame that contains a neighbors column. The neighbors column contains one dict per row with two parallel
packages/backend/embedding_atlas/graph_metrics.py:226
↓ 3 callersFunctionconnect
()
packages/viewer/src/embedding/index.ts:18
↓ 3 callersFunctionconnected_layout
Spectral embedding of a connected graph.
packages/umap/umap/src/spectral.rs:956
↓ 3 callersFunctionconvert_builder_to_flat_tree
Convert the builder's post-order node list to a FlatTree with pre-order layout.
packages/umap/nndescent/src/rp_trees.rs:319
↓ 3 callersFunctioncreate_embedder
Create a built-in embedder function by name.
packages/backend/embedding_atlas/embedding.py:12
↓ 3 callersFunctiondeheap_sort
Convert max-heap to ascending sorted order (in-place). This is the second half of heapsort.
packages/umap/nndescent/src/heap.rs:218
↓ 3 callersFunctiondetectImageMimeType
(data: Uint8Array)
packages/utils/src/media.ts:61
↓ 3 callersMethoddispose
()
packages/viewer/src/inference/embedding.ts:111
↓ 3 callersMethoddisposeSimilarity
* Release the worker-side similarity index, if any, and bump * `similarityVersion` so callers with in-flight queries against it re-request.
packages/viewer/src/charts/features/features_list_store.ts:525
↓ 3 callersFunctioneffective_selection_range
(params: &ModernLayoutParams, n_vertices: usize)
packages/umap/umap/src/layout_modern.rs:440
↓ 3 callersMethodembed
* Embed strings into one pooled, L2-normalized vector each. The model layer * returns raw (un-normalized) vectors regardless of provider, so normal
packages/viewer/src/embedding/scorer.ts:85
↓ 3 callersFunctionemptyUniforms
()
packages/component/src/lib/webgpu_renderer/renderer.ts:674
↓ 3 callersMethodexponents
(self)
packages/umap/umap/src/recursive_init.rs:84
↓ 3 callersFunctionfieldKey
(field: SQLField | null | undefined)
packages/component/src/lib/embedding_view/data/fields.ts:16
↓ 3 callersFunctionfindUnusedId
(object: Record<string, unknown>, prefix: string = "")
packages/viewer/src/utils/identifier.ts:3
↓ 3 callersFunctionfixAbsoluteImport
()
packages/utils/vite/index.js:3
↓ 3 callersMethodflush
(entry: TableEntry)
packages/component/src/lib/embedding_view/data/table_store.ts:253
↓ 3 callersFunctionfuzzy_simplicial_set
Build the fuzzy simplicial set from kNN data. This computes bandwidths, membership strengths, and applies the fuzzy set union operation to produce a
packages/umap/umap/src/graph.rs:512
↓ 3 callersFunctionfuzzy_union_coarse_graph
Fuzzy union of all edges between two parts: `1 - prod(1 - w_ij)`, diagonal kept.
packages/umap/umap/src/recursive_init.rs:976
↓ 3 callersFunctionget
(dataset, config, variant)
packages/umap/benchmark/benchmark/umap/sweep_report.py:91
↓ 3 callersMethodgetCurrentPredicate
()
packages/viewer/src/stores/embedding_atlas_store.ts:344
↓ 3 callersMethodgpu
Enable GPU acceleration via WebGPU. Default: false. Requires the `gpu` feature.
packages/umap/umap-wasm/src/lib.rs:627
↓ 3 callersFunctiongpu_device
()
packages/umap/umap/src/recursive_init.rs:2034
↓ 3 callersMethodgram
Compute self^T * other → (self.ncols() × other.ncols()) matrix, row-major flat.
packages/umap/umap/src/spectral.rs:231
↓ 3 callersFunctionimageToDataUrl
(value: any)
packages/utils/src/media.ts:3
↓ 3 callersFunctioninferNumberFormatter
(values: number[])
packages/viewer/src/charts/common/formatter.ts:10
↓ 3 callersFunctionisFloatingPointDBType
(dbType: string)
packages/viewer/src/utils/db_types.ts:41
↓ 3 callersFunctionjitter_duplicate_rows
When rows of `embedding` coincide, add Gaussian noise of scale `0.001 * mean nearest-neighbour distance`, so that coincident points can separate. The
packages/umap/umap/src/init.rs:142
↓ 3 callersFunctionjoinUrl
(a: string, b: string)
packages/viewer/src/app/backend_data_source.ts:13
↓ 3 callersMethodkeyExpression
The SQL expression of a key column.
packages/component/src/lib/embedding_view/data/table_store.ts:90
↓ 3 callersMethodkeyIndex
The key index of a table (loads the key column if needed).
packages/component/src/lib/embedding_view/data/table_store.ts:83
↓ 3 callersFunctionlabel_outliers
Each unlabeled node takes the label of the first labeled node met in a depth-first walk from it (at most `OUTLIER_SEARCH_LIMIT` expansions), else a ra
packages/umap/umap/src/recursive_init.rs:757
↓ 3 callersFunctionlayout
( graph: &CsrMatrix, centroids: Option<ComponentCentroids>, dim: usize, rng: &mut Xoshiro256St
packages/umap/umap/src/spectral.rs:720
↓ 3 callersFunctionlearning_rate_at
Learning rate at `epoch` of a run with `n_epochs` epochs. Epochs past the horizon keep the final value.
packages/umap/umap/src/layout_modern.rs:139
↓ 3 callersFunctionloadEmbeddingModelCached
( model: string, config: ProviderConfig, modality: "text" | "image", )
packages/viewer/src/inference/embedding.ts:235
↓ 3 callersFunctionmain_rows
(df)
packages/umap/benchmark/benchmark/umap/sweep_report.py:65
↓ 3 callersFunctionmakeBindGroups
( df: Dataflow, device: DataflowNode<GPUDevice>, uniformBuffer: DataflowNode<GPUBuffer>, dataBuffers:
packages/component/src/lib/webgpu_renderer/bind_groups.ts:79
↓ 3 callersFunctionmakeRandomData
(count, dim, seed = 42)
packages/umap/umap-wasm/tests/helpers.js:21
↓ 3 callersFunctionmake_embedding_atlas_props
Convert the input to props of the EmbeddingAtlas view.
packages/backend/embedding_atlas/options.py:107
↓ 3 callersFunctionmake_test_data
(n: usize, dim: usize, seed: i64)
packages/umap/nndescent/src/rp_trees.rs:1325
↓ 3 callersMethodmax_weight
Largest edge weight (NEG_INFINITY if empty).
packages/umap/umap/src/graph.rs:148
↓ 3 callersMethodmodern_kind
(self)
packages/umap/umap/src/optimize.rs:38
↓ 3 callersMethodn
(&self)
packages/umap/umap/src/recursive_init.rs:874
↓ 3 callersMethodn_parts
(&self)
packages/umap/umap/src/recursive_init.rs:838
↓ 3 callersMethodnegative_sample_rate
Number of negative samples per positive sample. Default: 5.
packages/umap/umap/src/lib.rs:417
↓ 3 callersFunctionnextId
()
packages/utils/src/worker_helper.ts:58
↓ 3 callersFunctionnn_descent
Top-level NN-descent: initialize heap, run iterations, sort result. Returns (indices, distances) sorted by ascending distance.
packages/umap/nndescent/src/nn_descent.rs:504
↓ 3 callersFunctionnormalize
Centers the points and scales them to unit root-mean-square radius. Non-finite points go to the origin.
packages/umap/benchmark/benchmark/umap/report/report_lib.js:93
↓ 3 callersMethodorthonormalize_mgs
Orthonormalize columns via modified Gram-Schmidt. Columns with norm below `eps` are replaced with zero vectors. Returns false only if all columns are
packages/umap/umap/src/spectral.rs:251
↓ 3 callersFunctionparse_owned_data
(data: Vec<f32>, n_rows: usize, n_cols: usize)
packages/umap/umap-wasm/src/lib.rs:36
↓ 3 callersMethodpositionOf
The position of a key, or -1 if the key is not in the table.
packages/component/src/lib/embedding_view/data/key_index.ts:41
↓ 3 callersMethodprepare
Mark the orderings ready; returns the first projection direction if this layout needs one. `None` leaves the identity orderings.
packages/umap/umap/src/layout_modern.rs:490
↓ 3 callersMethodprogress
Set a progress callback: `(progress: number, stage: string) => void`. `progress` is in [0, 1], `stage` describes the current processing phase.
packages/umap/umap-wasm/src/lib.rs:634
↓ 3 callersFunctionpropagation_sweep
One Jacobi sweep: every unlabeled node adopts the label with the largest summed edge weight among its neighbours (ties go to the label met last), prov
packages/umap/umap/src/recursive_init.rs:681
↓ 3 callersMethodprune
Remove entries below threshold.
packages/umap/umap/src/graph.rs:127
↓ 3 callersFunctionpython_bench_cmd
Build a command to run a benchmark Python module.
packages/umap/benchmark/benchmark/common.py:140
↓ 3 callersFunctionrandom
()
packages/viewer/test/inference_utils.test.ts:212
↓ 3 callersFunctionrandomized_pca_scores
Principal-component scores `U * S` of a centered matrix by randomized SVD (Gaussian sketch, `PCA_POWER_ITERATIONS` unnormalized power iterations). Ret
packages/umap/umap/src/recursive_init.rs:484
← previousnext →201–300 of 2,512, ranked by callers