Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/embedding-atlas
/ functions
Functions
2,512 in github.com/apple/embedding-atlas
⨍
Functions
2,512
◇
Types & classes
481
↳
Endpoints
18
↓ 4 callers
Function
makeModuleUniforms
(df: Dataflow, device: DataflowNode<GPUDevice>)
packages/component/src/lib/webgpu_renderer/uniforms.ts:106
↓ 4 callers
Function
make_forest
Build an RP forest of n_trees trees.
packages/umap/nndescent/src/rp_trees.rs:433
↓ 4 callers
Function
make_heap
Create a new heap initialized with -1 indices, inf distances, and 0 flags.
packages/umap/nndescent/src/heap.rs:15
↓ 4 callers
Function
mapped
(column: T[], mapper: (x: T) => V, indices?: number[])
packages/viewer/src/charts/spec/layer_helper.ts:22
↓ 4 callers
Method
metric
Distance metric name. Default: "euclidean".
packages/umap/umap/src/lib.rs:399
↓ 4 callers
Function
momentum
()
packages/umap/umap/src/gpu_layout_modern.rs:1005
↓ 4 callers
Method
n_components
Target embedding dimension. Default: 2.
packages/umap/umap/src/lib.rs:381
↓ 4 callers
Function
normalizeKey
(key: any)
packages/component/src/lib/embedding_view/data/key_index.ts:82
↓ 4 callers
Function
post
(message)
packages/umap/benchmark/browser/benchmark.worker.js:210
↓ 4 callers
Function
predicateToString
(predicate: ReturnType<Selection["predicate"]>)
packages/viewer/src/utils/database.ts:31
↓ 4 callers
Function
random_layout
Random embedding in [-10, 10]^dim.
packages/umap/umap/src/spectral.rs:1098
↓ 4 callers
Method
reinit_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 callers
Method
reset
* 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 callers
Method
row_sums
Compute row sums (degree vector).
packages/umap/umap/src/graph.rs:247
↓ 4 callers
Function
run
()
packages/umap/umap-wasm/index.js:211
↓ 4 callers
Function
rust_binary_path
Return path to a compiled Rust benchmark binary.
packages/umap/benchmark/benchmark/common.py:38
↓ 4 callers
Function
safeJSONStringify
(value: any, space?: number)
packages/viewer/src/renderers/renderer_utils.ts:71
↓ 4 callers
Method
search
(query: any, mode: string)
packages/viewer/src/stores/search_store.ts:98
↓ 4 callers
Method
set_good_initialization
Select the shorter Momentum/Adam warm-up for an already good initial layout.
packages/umap/umap/src/optimize.rs:490
↓ 4 callers
Method
set_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 callers
Function
stableWritable
(value: T)
packages/viewer/src/utils/store.ts:62
↓ 4 callers
Method
symmetrize
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 callers
Method
to_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 callers
Function
valueForEvent
(e: MouseEvent)
packages/utils/src/interaction_handler.ts:60
↓ 3 callers
Method
_cache_index_key
(self)
packages/backend/embedding_atlas/data_source.py:56
↓ 3 callers
Function
_decrypt_data
(encrypted_data: bytes, key: bytes)
packages/backend/embedding_atlas/cache.py:398
↓ 3 callers
Function
_encrypt_data
(data: bytes, key: bytes)
packages/backend/embedding_atlas/cache.py:383
↓ 3 callers
Function
_run_umap
( hidden_vectors: np.ndarray, *, umap_args: dict | None = None, )
packages/backend/embedding_atlas/projection.py:448
↓ 3 callers
Method
addInput
(node: BaseNode)
packages/utils/src/dataflow.ts:15
↓ 3 callers
Function
anchor_reference
( data: Option<&Array2<f32>>, n_samples: usize, n_components: usize, method: AnchorMethod,
packages/umap/umap/src/recursive_init.rs:355
↓ 3 callers
Function
assert_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 callers
Function
assert_quality_matches_cpu
Full runs on both backends reach comparable quality.
packages/umap/umap/src/gpu_layout_modern.rs:1328
↓ 3 callers
Function
base64Encode
(data: Uint8Array)
packages/utils/src/media.ts:226
↓ 3 callers
Function
bitsetForEach
(bits: Uint32Array, fn: (p: number) => void)
packages/component/src/lib/embedding_view/data/key_index.ts:112
↓ 3 callers
Function
brute_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 callers
Method
build_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 callers
Function
build_rust
Build a Rust benchmark binary in release mode.
packages/umap/benchmark/benchmark/common.py:120
↓ 3 callers
Function
center_columns_f64
(m: &mut Array2<f64>)
packages/umap/umap/src/recursive_init.rs:1122
↓ 3 callers
Function
centered_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 callers
Method
cleanup
()
packages/viewer/src/charts/spec/runtime.ts:184
↓ 3 callers
Function
component_ranges
(sizes: &[usize])
packages/umap/umap/src/spectral.rs:1336
↓ 3 callers
Function
computeFieldStats
( coordinator: Coordinator, table: SQL.FromExpr, field: SQL.ExprNode, )
packages/viewer/src/charts/common/aggregate.ts:107
↓ 3 callers
Function
compute_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 callers
Function
connect
()
packages/viewer/src/embedding/index.ts:18
↓ 3 callers
Function
connected_layout
Spectral embedding of a connected graph.
packages/umap/umap/src/spectral.rs:956
↓ 3 callers
Function
convert_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 callers
Function
create_embedder
Create a built-in embedder function by name.
packages/backend/embedding_atlas/embedding.py:12
↓ 3 callers
Function
deheap_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 callers
Function
detectImageMimeType
(data: Uint8Array)
packages/utils/src/media.ts:61
↓ 3 callers
Method
dispose
()
packages/viewer/src/inference/embedding.ts:111
↓ 3 callers
Method
disposeSimilarity
* 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 callers
Function
effective_selection_range
(params: &ModernLayoutParams, n_vertices: usize)
packages/umap/umap/src/layout_modern.rs:440
↓ 3 callers
Method
embed
* 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 callers
Function
emptyUniforms
()
packages/component/src/lib/webgpu_renderer/renderer.ts:674
↓ 3 callers
Method
exponents
(self)
packages/umap/umap/src/recursive_init.rs:84
↓ 3 callers
Function
fieldKey
(field: SQLField | null | undefined)
packages/component/src/lib/embedding_view/data/fields.ts:16
↓ 3 callers
Function
findUnusedId
(object: Record<string, unknown>, prefix: string = "")
packages/viewer/src/utils/identifier.ts:3
↓ 3 callers
Function
fixAbsoluteImport
()
packages/utils/vite/index.js:3
↓ 3 callers
Method
flush
(entry: TableEntry)
packages/component/src/lib/embedding_view/data/table_store.ts:253
↓ 3 callers
Function
fuzzy_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 callers
Function
fuzzy_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 callers
Function
get
(dataset, config, variant)
packages/umap/benchmark/benchmark/umap/sweep_report.py:91
↓ 3 callers
Method
getCurrentPredicate
()
packages/viewer/src/stores/embedding_atlas_store.ts:344
↓ 3 callers
Method
gpu
Enable GPU acceleration via WebGPU. Default: false. Requires the `gpu` feature.
packages/umap/umap-wasm/src/lib.rs:627
↓ 3 callers
Function
gpu_device
()
packages/umap/umap/src/recursive_init.rs:2034
↓ 3 callers
Method
gram
Compute self^T * other → (self.ncols() × other.ncols()) matrix, row-major flat.
packages/umap/umap/src/spectral.rs:231
↓ 3 callers
Function
imageToDataUrl
(value: any)
packages/utils/src/media.ts:3
↓ 3 callers
Function
inferNumberFormatter
(values: number[])
packages/viewer/src/charts/common/formatter.ts:10
↓ 3 callers
Function
isFloatingPointDBType
(dbType: string)
packages/viewer/src/utils/db_types.ts:41
↓ 3 callers
Function
jitter_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 callers
Function
joinUrl
(a: string, b: string)
packages/viewer/src/app/backend_data_source.ts:13
↓ 3 callers
Method
keyExpression
The SQL expression of a key column.
packages/component/src/lib/embedding_view/data/table_store.ts:90
↓ 3 callers
Method
keyIndex
The key index of a table (loads the key column if needed).
packages/component/src/lib/embedding_view/data/table_store.ts:83
↓ 3 callers
Function
label_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 callers
Function
layout
( graph: &CsrMatrix, centroids: Option<ComponentCentroids>, dim: usize, rng: &mut Xoshiro256St
packages/umap/umap/src/spectral.rs:720
↓ 3 callers
Function
learning_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 callers
Function
loadEmbeddingModelCached
( model: string, config: ProviderConfig, modality: "text" | "image", )
packages/viewer/src/inference/embedding.ts:235
↓ 3 callers
Function
main_rows
(df)
packages/umap/benchmark/benchmark/umap/sweep_report.py:65
↓ 3 callers
Function
makeBindGroups
( df: Dataflow, device: DataflowNode<GPUDevice>, uniformBuffer: DataflowNode<GPUBuffer>, dataBuffers:
packages/component/src/lib/webgpu_renderer/bind_groups.ts:79
↓ 3 callers
Function
makeRandomData
(count, dim, seed = 42)
packages/umap/umap-wasm/tests/helpers.js:21
↓ 3 callers
Function
make_embedding_atlas_props
Convert the input to props of the EmbeddingAtlas view.
packages/backend/embedding_atlas/options.py:107
↓ 3 callers
Function
make_test_data
(n: usize, dim: usize, seed: i64)
packages/umap/nndescent/src/rp_trees.rs:1325
↓ 3 callers
Method
max_weight
Largest edge weight (NEG_INFINITY if empty).
packages/umap/umap/src/graph.rs:148
↓ 3 callers
Method
modern_kind
(self)
packages/umap/umap/src/optimize.rs:38
↓ 3 callers
Method
n
(&self)
packages/umap/umap/src/recursive_init.rs:874
↓ 3 callers
Method
n_parts
(&self)
packages/umap/umap/src/recursive_init.rs:838
↓ 3 callers
Method
negative_sample_rate
Number of negative samples per positive sample. Default: 5.
packages/umap/umap/src/lib.rs:417
↓ 3 callers
Function
nextId
()
packages/utils/src/worker_helper.ts:58
↓ 3 callers
Function
nn_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 callers
Function
normalize
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 callers
Method
orthonormalize_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 callers
Function
parse_owned_data
(data: Vec<f32>, n_rows: usize, n_cols: usize)
packages/umap/umap-wasm/src/lib.rs:36
↓ 3 callers
Method
positionOf
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 callers
Method
prepare
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 callers
Method
progress
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 callers
Function
propagation_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 callers
Method
prune
Remove entries below threshold.
packages/umap/umap/src/graph.rs:127
↓ 3 callers
Function
python_bench_cmd
Build a command to run a benchmark Python module.
packages/umap/benchmark/benchmark/common.py:140
↓ 3 callers
Function
random
()
packages/viewer/test/inference_utils.test.ts:212
↓ 3 callers
Function
randomized_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
← previous
next →
201–300 of 2,512, ranked by callers