Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/embedding-atlas
/ functions
Functions
1,529 in github.com/apple/embedding-atlas
⨍
Functions
1,529
◇
Types & classes
299
↳
Endpoints
18
↓ 2 callers
Method
random_range_i64
Random i64 in [lo, hi).
packages/umap/nndescent/src/rng.rs:151
↓ 2 callers
Method
rebase
Subtract `base` from both schedule-counter buffers (keeps the f32 epoch coordinate precise over indefinitely long runs).
packages/umap/umap/src/gpu_optimize.rs:614
↓ 2 callers
Function
registerClass
(name: string, factory: (...args: any[]) => any)
packages/utils/src/worker_helper.ts:319
↓ 2 callers
Method
reinit_embedding
Replace the embedding and reset the schedule, epoch, and velocity — i.e. a full restart of the layout optimization from a new initial position.
packages/umap/umap/src/optimize.rs:565
↓ 2 callers
Function
renderMarkdown
(content: string)
packages/viewer/src/utils/html_template.ts:11
↓ 2 callers
Function
report_html
Return the report HTML path for a benchmark suite.
packages/umap/benchmark/benchmark/common.py:33
↓ 2 callers
Method
reseed_negative_schedule
(Re)seed the per-edge negative-sample counters for the current rate so the next negative sample for each edge falls ~`epn` epochs after `from_epoch`.
packages/umap/umap/src/optimize.rs:514
↓ 2 callers
Method
reset_schedule
Reset the per-edge schedule counters (eons = eps, eonns = eps/rate) and clear the gradient accumulator.
packages/umap/umap/src/gpu_optimize.rs:447
↓ 2 callers
Function
resolveColor
({ proxy, data, theme }: ResolveContext)
packages/viewer/src/charts/spec/layer_helper.ts:93
↓ 2 callers
Function
resolveInternalState
* Turn a user-specified state (from the API) into an internal state. * An InternalState is just a EmbeddingAtlasState with all fields non-optional *
packages/viewer/src/stores/embedding_atlas_store.ts:437
↓ 2 callers
Function
resolveInterpolate
(value: Interpolate, orientation: "horizontal" | "vertical")
packages/viewer/src/charts/spec/layer_helper.ts:123
↓ 2 callers
Function
resolvePoint
({ proxy, data }: ResolveContext, axis: "x" | "y")
packages/viewer/src/charts/spec/layer_helper.ts:34
↓ 2 callers
Function
results_csv
Return the results CSV path for a benchmark suite.
packages/umap/benchmark/benchmark/common.py:28
↓ 2 callers
Method
row_sums
Compute row sums (degree vector).
packages/umap/umap/src/graph.rs:176
↓ 2 callers
Function
run
Run all UMAP benchmarks.
packages/umap/benchmark/benchmark/umap/run.py:42
↓ 2 callers
Function
run_bench_and_collect
Run a benchmark command that writes a JSON result file. Returns the parsed result dict with 'threads' added, or None on failure.
packages/umap/benchmark/benchmark/common.py:76
↓ 2 callers
Method
run_cpu_epoch
Run one CPU epoch in place at the current parameters.
packages/umap/umap/src/optimize.rs:392
↓ 2 callers
Method
run_epoch
Run one epoch on the GPU at the given (already-decayed) parameters. SGD splits the epoch into `n_sub` accumulate→apply rounds so later sub-batches se
packages/umap/umap/src/gpu_optimize.rs:557
↓ 2 callers
Function
rust_binary_path
Return path to a compiled Rust benchmark binary.
packages/umap/benchmark/benchmark/common.py:38
↓ 2 callers
Function
sanitizeHTML
(html: string)
packages/viewer/src/utils/sanitize.ts:13
↓ 2 callers
Method
setOptimizer
Switch optimizer. Resets the velocity buffer. Queued; runs in order after any in-flight `step`/`run`.
packages/umap/umap-wasm/index.d.ts:149
↓ 2 callers
Method
setParameters
* Update live parameters. `learningRate` is used flat by `step` and as the * decay peak by `run`. `minDist`/`spread` re-fit the output curve. Safe
packages/umap/umap-wasm/index.d.ts:144
↓ 2 callers
Function
simple_heap_push
Push a value into a max-heap without checking for duplicates. Returns 1 if the value was inserted, 0 if rejected (distance too large).
packages/umap/nndescent/src/heap.rs:25
↓ 2 callers
Function
smooth_polygon
(polygon: &[(f64, f64)])
packages/density-clustering/density_clustering/src/polygon.rs:5
↓ 2 callers
Function
spectral_layout
Compute spectral embedding of the graph using the normalized Laplacian. Uses LOBPCG (Locally Optimal Block Preconditioned Conjugate Gradient) to find
packages/umap/umap/src/spectral.rs:633
↓ 2 callers
Function
stableDerived
( stores: S, fn: (values: StoresValues<S>) => T, initialValue?: T, )
packages/viewer/src/utils/store.ts:72
↓ 2 callers
Function
stableWritable
(value: T)
packages/viewer/src/utils/store.ts:45
↓ 2 callers
Method
stage_progress
Report sub-progress within the current stage. `progress` is 0.0 to 1.0 within this stage. `status` optionally overrides the stage name in the callbac
packages/umap/nndescent/src/logger.rs:67
↓ 2 callers
Function
startsWith
(data: Uint8Array, prefix: number[])
packages/utils/src/media.ts:46
↓ 2 callers
Method
subgraph
()
packages/component/src/lib/dataflow.ts:335
↓ 2 callers
Function
svelteComponentToAction
(Class: any)
packages/viewer/src/renderers/renderer_types.ts:64
↓ 2 callers
Function
textOptions
( axis: AxisConfig | null | undefined, theme: ChartTheme, )
packages/viewer/src/charts/common/infer.ts:188
↓ 2 callers
Function
trace_all_outer_contours
(array: &Array2D<i32>)
packages/density-clustering/density_clustering/src/trace_contours.rs:77
↓ 2 callers
Function
trace_outer_contour
(start: (i32, i32), array: &Array2D<T>)
packages/density-clustering/density_clustering/src/trace_contours.rs:7
↓ 2 callers
Function
transfer
(value: T, buffers: ArrayBuffer[])
packages/utils/src/worker_helper.ts:46
↓ 2 callers
Function
tsJsonSchemaPlugin
* Vite plugin that converts TypeScript interfaces to JSON schemas * @param {Object} options - Plugin options * @param {string} [options.tsconfig='ts
packages/viewer/scripts/vite-plugin-ts-json-schema.js:14
↓ 2 callers
Method
update
(props: Partial<EmbeddingViewProps>)
packages/component/src/lib/embedding_view/embedding_view_api.ts:110
↓ 2 callers
Method
update
(props: { value: string })
packages/examples/src/react/EmbeddingAtlas.tsx:22
↓ 2 callers
Method
updateCoefficients
()
packages/component/src/lib/viewport_utils.ts:31
↓ 2 callers
Method
update_max
(&mut self, value: &(T, f32))
packages/density-clustering/density_clustering/src/find_clusters.rs:51
↓ 2 callers
Method
update_min
(&mut self, value: &(T, f32))
packages/density-clustering/density_clustering/src/find_clusters.rs:61
↓ 2 callers
Method
verbose
Enable verbose output. Default: false.
packages/umap/umap/src/lib.rs:235
↓ 2 callers
Function
withGate
(perform: () => void)
packages/viewer/src/utils/store.ts:93
↓ 2 callers
Function
wrapUmap
* Wrap a built wasm `Umap` instance in the stable JS UMAP interface. A * {@link createSequencer} mediates all wasm access so callers can safely step
packages/umap/umap-wasm/index.js:158
↓ 2 callers
Method
zero_velocity
Zero the velocity buffer (on optimizer switch / reinit).
packages/umap/umap/src/gpu_optimize.rs:487
↓ 1 callers
Function
E
( tag: string, options: { innerText?: string; innerHTML?: string; class?: string; attrs?:
packages/viewer/src/renderers/messages.ts:120
↓ 1 callers
Function
RNG
(seed: number)
packages/component/src/demo/sample_datasets.ts:76
↓ 1 callers
Function
RNG
(seed: number)
packages/examples/src/sample_datasets.ts:114
↓ 1 callers
Method
_cache_index_add
(self, name: str)
packages/backend/embedding_atlas/data_source.py:53
↓ 1 callers
Function
_caching_embedder_args
(embedder_args: dict)
packages/backend/embedding_atlas/projection.py:434
↓ 1 callers
Function
_classify_impl
Return display implementation name (rust, rust-gpu, python).
packages/umap/benchmark/benchmark/html_report.py:20
↓ 1 callers
Method
_cleanup
(self)
packages/backend/embedding_atlas/server.py:234
↓ 1 callers
Function
_deep_merge
(base: dict, overrides: dict)
packages/backend/embedding_atlas/data_source.py:17
↓ 1 callers
Function
_default_embedder
(modality: str)
packages/backend/embedding_atlas/projection.py:427
↓ 1 callers
Function
_embeddings_html
Build the HTML section with canvas elements for embedding visualization.
packages/umap/benchmark/benchmark/html_report.py:348
↓ 1 callers
Function
_get_constants
(cache_root: Path)
packages/backend/embedding_atlas/cache.py:311
↓ 1 callers
Function
_gz_b64
Gzip compress and base64 encode bytes.
packages/umap/benchmark/benchmark/html_report.py:169
↓ 1 callers
Method
_handle_message
(self, data: str)
packages/backend/embedding_atlas/server.py:221
↓ 1 callers
Function
_kabsch
Optimal rotation + translation (Kabsch). Returns (transformed, error).
packages/umap/benchmark/benchmark/align.py:6
↓ 1 callers
Function
_load_embeddings
Load, align, and normalize UMAP embeddings for all (n_points, metric, threads) groups. Returns list of dicts with gzipped+base64-encoded embeddin
packages/umap/benchmark/benchmark/html_report.py:181
↓ 1 callers
Function
_make_random_image_bytes
Generate a random RGB image as PNG bytes.
packages/backend/tests/test_projection_transformers.py:19
↓ 1 callers
Function
_make_random_image_bytes
(width=64, height=64, seed=0)
packages/backend/tests/test_projection.py:26
↓ 1 callers
Function
_make_random_image_bytes
(width=64, height=64, seed=0)
packages/backend/tests/test_projection_litellm.py:27
↓ 1 callers
Function
_make_random_wav_bytes
Generate a random mono WAV file as bytes.
packages/backend/tests/test_projection_transformers.py:29
↓ 1 callers
Method
_popMax
()
packages/component/src/lib/dynamic_label_placement/priority_queue.ts:30
↓ 1 callers
Function
_prepare_data
Prepare rows for Vega-Lite: add impl_display, cast numeric fields.
packages/umap/benchmark/benchmark/html_report.py:29
↓ 1 callers
Function
_read_csv
Read CSV file and return list of dicts.
packages/umap/benchmark/benchmark/html_report.py:12
↓ 1 callers
Function
_results_table_html
Build an HTML table from result rows.
packages/umap/benchmark/benchmark/html_report.py:146
↓ 1 callers
Function
_run_embedding
Run an embedder function over *data* in batches, return concatenated result.
packages/backend/embedding_atlas/projection.py:395
↓ 1 callers
Function
_run_umap
( hidden_vectors: np.ndarray, *, umap_args: dict | None = None, )
packages/backend/embedding_atlas/projection.py:363
↓ 1 callers
Function
_timing_vegalite_spec
Build a Vega-Lite spec for timing charts faceted by metric x threads (and dim for nndescent).
packages/umap/benchmark/benchmark/html_report.py:49
↓ 1 callers
Function
actionFromClass
( ComponentClass: new ( node: N, props: P, ) => { update?: ((props: P) => void) | undefined;
packages/component/src/lib/embedding_view/custom_component_helper.ts:5
↓ 1 callers
Method
addChartToLayout
(layoutId: string, spec: any = { type: "builder", title: "New" })
packages/viewer/src/stores/embedding_atlas_store.ts:372
↓ 1 callers
Method
addLayout
(type: "list" | "dashboard")
packages/viewer/src/stores/embedding_atlas_store.ts:279
↓ 1 callers
Method
addPoints
(points: { id: string | number; text: string }[])
packages/viewer/src/search/search.worker.ts:28
↓ 1 callers
Method
add_assign
Element-wise addition: self += other.
packages/umap/umap/src/spectral.rs:324
↓ 1 callers
Function
adjustForGray
(hex: string, lightnessShift: number = 0)
packages/viewer/src/charts/common/theme.ts:58
↓ 1 callers
Function
adjusted
(ms: number)
packages/viewer/src/charts/common/binning.ts:192
↓ 1 callers
Function
aggregateByStem
Aggregate words by their stems and track the most frequent version. * Returns a map with stemmed words as keys, and the most frequent version and tot
packages/component/src/lib/text_summarizer/text_summarizer.ts:168
↓ 1 callers
Method
align2
()
packages/component/src/lib/webgpu_renderer/uniforms.ts:44
↓ 1 callers
Function
align_to_reference
Align emb to ref_emb using rotation + translation, allowing a flip. Tries the embedding as-is and with x-axis flipped, picks whichever gives
packages/umap/benchmark/benchmark/align.py:43
↓ 1 callers
Function
alternative_cosine
(x: &[f32], y: &[f32])
packages/umap/nndescent/src/distance.rs:114
↓ 1 callers
Function
angular_hub_split
Angular hub-based split: uses top-3 highest-degree points to generate normalized hyperplanes between all pairs, picks the most balanced split.
packages/umap/nndescent/src/rp_trees.rs:1064
↓ 1 callers
Function
angular_random_projection_split
Angular random projection split: picks 2 random points, computes normalized difference as hyperplane, splits by sign of projection.
packages/umap/nndescent/src/rp_trees.rs:82
↓ 1 callers
Function
apply_laplacian
Apply L*v = v - D^{-1/2} * A * (D^{-1/2} * v) to each column of a Block. All computation is done in f64 to avoid precision loss in the eigensolver.
packages/umap/umap/src/spectral.rs:339
↓ 1 callers
Function
apply_logging_config
()
packages/backend/embedding_atlas/utils.py:93
↓ 1 callers
Method
as_mut_slice
(&mut self)
packages/density-clustering/density_clustering/src/array_2d.rs:55
↓ 1 callers
Function
assemble_gram
Assemble a symmetric block Gram matrix from sub-blocks. blocks is a list of (row_block, col_block, sub_matrix) triples. Each sub_matrix is (rows × col
packages/umap/umap/src/spectral.rs:366
↓ 1 callers
Function
async_compute_projection
Async version of ``compute_projection``. Use this when calling from within a running async event loop (e.g. Jupyter notebooks)::
packages/backend/embedding_atlas/projection.py:95
↓ 1 callers
Function
base64Encode
(bytes)
packages/docs/examples/utils.js:22
↓ 1 callers
Method
batch
(data: any[])
packages/viewer/src/embedding/embedding.worker.ts:41
↓ 1 callers
Function
batch_search
Search for k nearest neighbors of multiple query points (parallel).
packages/umap/nndescent/src/search.rs:160
↓ 1 callers
Function
bench_env
Return environment dict for benchmark subprocesses.
packages/umap/benchmark/benchmark/common.py:43
↓ 1 callers
Function
bgl_entry
Helper to create a storage buffer bind group layout entry.
packages/umap/nndescent/src/gpu.rs:1024
↓ 1 callers
Function
bit_hamming
(x: &[f32], y: &[f32])
packages/umap/nndescent/src/distance.rs:430
↓ 1 callers
Function
bit_jaccard
(x: &[f32], y: &[f32])
packages/umap/nndescent/src/distance.rs:441
↓ 1 callers
Function
blackman
(i: usize, length: usize)
packages/density-clustering/density_clustering/src/polygon.rs:28
↓ 1 callers
Function
blurActiveElement
()
packages/utils/src/interaction_handler.ts:159
↓ 1 callers
Function
brute_force_knn
Compute brute-force k-nearest neighbors for accuracy comparison.
packages/umap/nndescent/tests/test_gpu.rs:24
↓ 1 callers
Function
buildChart
( ctx: BuildContext, outputs: Writable<ChartOutputs | undefined>, selections: Writable<SelectionOutputs[
packages/viewer/src/charts/spec/runtime.ts:242
← previous
next →
301–400 of 1,529, ranked by callers