MCPcopy Create free account

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

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

↓ 246 callersMethodmap
( input: DataflowNode<T[]>, build: (df: Dataflow, arg: DataflowNode<T>) => DataflowNode<U>, )
packages/utils/src/dataflow.ts:338
↓ 157 callersMethodpush
Queue `pipeline` over `n_threads` threads with `uniforms`.
packages/umap/umap/src/gpu_layout_modern.rs:153
↓ 121 callersMethodget
Gets an object from the cache with the given key. Returns `null` if the entry is not found.
packages/viewer/src/app/data_source.ts:11
↓ 85 callersMethodclone
()
packages/viewer/src/layouts/dashboard/occupancy_map.ts:25
↓ 85 callersMethodset
Sets an object to the cache with the given key
packages/viewer/src/app/data_source.ts:14
↓ 83 callersMethodnrows
(&self)
packages/umap/umap/src/spectral.rs:222
↓ 57 callersMethodncols
(&self)
packages/umap/umap/src/spectral.rs:218
↓ 53 callersMethodfrom
(e: nndescent::NNDescentError)
packages/umap/umap/src/lib.rs:125
↓ 42 callersFunctioncompute_projection
Compute embeddings and generate 2D projections for a DataFrame column. This is a unified entry point that auto-detects the modality of the i
packages/backend/embedding_atlas/projection.py:20
↓ 36 callersMethodadd
Add data to the summarizer
packages/component/src/lib/text_summarizer/text_summarizer.ts:42
↓ 36 callersFunctionmake_test_data
(n: usize, dim: usize, seed: u64)
packages/umap/umap/src/lib.rs:1348
↓ 36 callersFunctionpagerank
Compute PageRank scores from a list of edges of a graph using PyTorch sparse matrix power iteration. The graph can be either unweighted (each
packages/backend/embedding_atlas/graph_metrics.py:30
↓ 36 callersMethodupdate
Update some of the props. Props that aren't listed keep their current values.
packages/utils/svelte/mount_component.svelte.ts:12
↓ 33 callersMethodas_slice
(&self)
packages/density-clustering/density_clustering/src/array_2d.rs:59
↓ 33 callersMethodrandom_state
Random seed for reproducibility.
packages/umap/umap/src/lib.rs:441
↓ 32 callersMethodcolumn
(entry: TableEntry, column: ColumnSpec)
packages/component/src/lib/embedding_view/data/table_store.ts:226
↓ 31 callersMethodkeys
(rects: Rectangle[])
packages/component/src/lib/utils.ts:185
↓ 30 callersMethodbuild
Run UMAP and return the result (embedding + KNN graph).
packages/umap/umap/src/lib.rs:588
↓ 29 callersMethoddestroy
Destroy the instance and release resources
packages/umap/umap-wasm/index.d.ts:244
↓ 28 callersMethoddelete
(key: number)
packages/component/src/lib/dynamic_label_placement/priority_queue.ts:26
↓ 27 callersMethodinit_method
Initialization method. Default: [`Init::Auto`].
packages/umap/umap/src/lib.rs:453
↓ 26 callersMethodappend
(message: LogMessage)
packages/viewer/src/app/logging.ts:26
↓ 26 callersMethodn_epochs
Number of training epochs. Default: auto.
packages/umap/umap/src/lib.rs:405
↓ 25 callersFunction_detect_binary_modality
Detect whether binary data is an image or audio based on magic bytes.
packages/backend/embedding_atlas/projection.py:343
↓ 24 callersFunction_nw_series
Create a narwhals Series from a list of values via pandas.
packages/backend/tests/test_modality_detection.py:19
↓ 24 callersFunctionlist
(name, options)
packages/umap/benchmark/benchmark/umap/report/report_lib.js:530
↓ 24 callersMethodrow
(&self, v: usize)
packages/umap/nndescent/src/nn_descent.rs:176
↓ 23 callersMethodbuild
Build the NNDescent index. This is a synchronous wrapper around [`build_async`]. On native builds (including native GPU via `pollster::block_on`), us
packages/umap/nndescent/src/lib.rs:190
↓ 23 callersMethodrow
(&self, i: usize)
packages/umap/umap/src/recursive_init.rs:878
↓ 22 callersMethodderive
Creates a derived value.
packages/utils/src/dataflow.ts:300
↓ 22 callersMethodquery
(query: string, limit: number)
packages/viewer/src/search/search.worker.ts:34
↓ 22 callersMethodrandom_state
Random seed for reproducibility.
packages/umap/nndescent/src/lib.rs:149
↓ 22 callersMethodstep
* Advance the layout by `nEpochs` at the current `learningRate`, held flat (no * decay). Intended for interactive/real-time stepping; anneal by cal
packages/umap/umap-wasm/index.d.ts:214
↓ 21 callersMethodlog
Print a message to stderr if verbose is enabled.
packages/umap/nndescent/src/logger.rs:41
↓ 21 callersMethodn_neighbors
Number of nearest neighbors. Default: 15.
packages/umap/umap/src/lib.rs:375
↓ 20 callersMethodappend
(self, row)
packages/umap/benchmark/benchmark/common.py:112
↓ 20 callersFunctiondegree
Compute in-degree, out-degree, and (undirected) degree for each node from a list of edges of a directed multigraph. Edge weights, if pres
packages/backend/embedding_atlas/graph_metrics.py:278
↓ 20 callersMethodrun
* Anneal the layout to completion over the default horizon, continuing from * the current epoch, with the live `learningRate` (from `createUMAP` op
packages/umap/umap-wasm/index.d.ts:204
↓ 20 callersMethodtau_rand_int
A fast (pseudo)-random number generator. Must exactly match the Python bitmask arithmetic. The Python code uses i64 state but performs u32-level bit
packages/umap/nndescent/src/rng.rs:30
↓ 18 callersFunctionin_degree_core
Compute directed k-core decomposition based on in-degree, returning the core number for each node. The in-degree core number of a node is
packages/backend/embedding_atlas/graph_metrics.py:396
↓ 18 callersMethodresolve
(&self, effective_range: usize, n_vertices: usize)
packages/umap/umap/src/layout_modern.rs:418
↓ 17 callersFunction_infer_modality
Infer the modality by inspecting the first non-null value in the series.
packages/backend/embedding_atlas/projection.py:352
↓ 17 callersMethodclear
()
packages/viewer/src/stores/search_store.ts:192
↓ 17 callersFunctionclustering_coefficient
Compute the local clustering coefficient for each node in a directed graph. The clustering coefficient of node v measures what fraction of p
packages/backend/embedding_atlas/graph_metrics.py:565
↓ 17 callersMethodfill
Fill the given rect as occupied
packages/viewer/src/layouts/dashboard/occupancy_map.ts:78
↓ 17 callersMethodzeros
(width: i32, height: i32)
packages/density-clustering/density_clustering/src/array_2d.rs:33
↓ 16 callersFunctionasync_map
Map the inputs by an async function, return a future that resolves to the mapped array (in correct order). Args: inputs: List of ite
packages/backend/embedding_atlas/async_map.py:35
↓ 16 callersMethodfind
Find a start location (x, y) with a rect of size (width, height) can be placed
packages/viewer/src/layouts/dashboard/occupancy_map.ts:101
↓ 15 callersFunctionfile_cache_set
Store a value in the encrypted file cache. This function serializes, encrypts, and stores a value in the file cache using the provided k
packages/backend/embedding_atlas/cache.py:104
↓ 15 callersMethodrandom_f32
(&mut self)
packages/umap/nndescent/src/rng.rs:140
↓ 15 callersMethodsubmit
(&self, batch: Batch)
packages/umap/umap/src/gpu_layout_modern.rs:534
↓ 15 callersMethodto_string
(x: int)
packages/backend/tests/test_async_map.py:169
↓ 14 callersMethodneighbor_graph
Get the neighbor graph (indices, distances). Applies distance correction if using fast alternative distances.
packages/umap/nndescent/src/lib.rs:447
↓ 14 callersFunctionrandom_init
(n: usize, dim: usize, seed: u64)
packages/umap/umap/src/layout_modern.rs:1267
↓ 14 callersMethodvalue
Creates a value node.
packages/utils/src/dataflow.ts:293
↓ 13 callersMethoderror
(text: string, options: Omit<LogMessage, "text"> = {})
packages/viewer/src/app/logging.ts:50
↓ 13 callersMethodfinish
Apply the options to `builder`, run the setup and wrap the result. `n_cols` is the number of input features, 0 for a kNN graph.
packages/umap/umap-wasm/src/lib.rs:178
↓ 13 callersFunctiongaussian_blobs
( n_per_blob: usize, dim: usize, offset: f32, seed: u64, )
packages/umap/umap/src/layout_modern.rs:1205
↓ 13 callersFunctionget
(_target, method: string | symbol)
packages/utils/src/worker_helper.ts:174
↓ 13 callersFunctionmake_nn_data
Generate test data matching conftest.py nn_data fixture. Shape: (1002, 5) - 1000 random rows + 2 zero rows. Uses our TauRng for deterministic generati
packages/umap/nndescent/tests/test_nn_descent.rs:10
↓ 12 callersMethod_updateState
(updater: (draft: Draft<InternalState>) => void, options: { cleanup?: boolean } = {})
packages/viewer/src/stores/embedding_atlas_store.ts:390
↓ 12 callersFunctionassert_approx_eq
Helper: assert two f32 values are approximately equal.
packages/umap/nndescent/tests/test_distances.rs:7
↓ 12 callersFunctionfile_cache_get
Retrieve a cached value from the encrypted file cache. This function attempts to load and decrypt a previously cached value using the pr
packages/backend/embedding_atlas/cache.py:55
↓ 12 callersMethodinfo
(text: string, options: Omit<LogMessage, "text"> = {})
packages/viewer/src/app/logging.ts:46
↓ 12 callersMethodload
Load columns (and the keys, if `key` is given) in one query. If it fails, the keys and the columns are loaded * separately, so that one bad column
packages/component/src/lib/embedding_view/data/table_store.ts:274
↓ 12 callersFunctionpruned_graph
( data: &Array2<f32>, n_neighbors: usize, n_epochs: usize, )
packages/umap/umap/src/layout_modern.rs:1244
↓ 11 callersMethodcolumns
Load columns of a table; the arrays are in the same order (cached; requests in the same tick are loaded together * in one query).
packages/component/src/lib/embedding_view/data/table_store.ts:77
↓ 11 callersMethodembedding
( &self, graph: &CsrMatrix, data: Option<&Array2<f32>>, rng: &mut Xoshiro256St
packages/umap/umap/src/lib.rs:1048
↓ 11 callersFunctionsha256_hexdigest
(value: Any, scope: str | None = None)
packages/backend/embedding_atlas/cache.py:455
↓ 10 callersMethodcompatibility_layout
Use the umap-learn 0.5 layout pipeline (`true`) or the 0.6 modern pipeline (`false`: modern NNDescent parameters, spectral noise and isotropic init re
packages/umap/umap/src/lib.rs:569
↓ 10 callersMethoddestroy
()
packages/utils/svelte/mount_component.svelte.ts:13
↓ 10 callersMethodembedding
The current embedding (CPU mirror; valid after `step`/`run_to`).
packages/umap/umap/src/optimize.rs:896
↓ 10 callersMethodparams
The current live parameters.
packages/umap/umap/src/optimize.rs:891
↓ 10 callersFunctionset
(value: T)
packages/viewer/src/utils/store.ts:138
↓ 10 callersMethodsetup_async
Build the graph + initial embedding and return a resumable [`UmapSetup`], without** running the layout optimization. Use the returned [`UmapOptimizer`
packages/umap/umap/src/lib.rs:616
↓ 9 callersFunctionadam
()
packages/umap/umap/src/gpu_layout_modern.rs:1001
↓ 9 callersFunctioncsr
(n: usize, edges: &[(usize, usize, f32)])
packages/umap/umap/src/recursive_init.rs:1444
↓ 9 callersMethodentry
(table: string, key: string | null)
packages/component/src/lib/embedding_view/data/table_store.ts:193
↓ 9 callersFunctioneuclidean
(x: &[f32], y: &[f32])
packages/umap/nndescent/src/distance.rs:13
↓ 9 callersFunctionfind_ab_params
Fit the curve parameters (a, b) for the output distance function: f(x) = 1 / (1 + a * x^(2b)) The target curve is: y = 1.0 if x < min_di
packages/umap/umap/src/lib.rs:1222
↓ 9 callersFunctionquantile
Linear-interpolated quantile of an unsorted slice (matches `numpy.quantile`).
packages/umap/umap/src/init.rs:8
↓ 9 callersFunctionsmooth_knn_dist
Compute sigma (bandwidth) and rho (local connectivity distance) for each point via binary search, matching the UMAP smooth_knn_dist algorithm.
packages/umap/umap/src/graph.rs:278
↓ 8 callersFunction_assert_projection_result
(result, n=NUM_SAMPLES)
packages/backend/tests/test_projection_transformers.py:110
↓ 8 callersMethodapply
(value: any)
packages/viewer/src/charts/common/types.ts:94
↓ 8 callersMethodgpu
Enable GPU acceleration for nearest neighbor computation. Default: false. Requires the `gpu` crate feature. Falls back to CPU if no suitable GPU is a
packages/umap/umap/src/lib.rs:526
↓ 8 callersFunctionknn_to_edges
Convert raw UMAP k-nearest-neighbor (KNN) arrays into a weighted edge list, which can then be passed into pagerank(). Raw KNN distances
packages/backend/embedding_atlas/graph_metrics.py:140
↓ 8 callersMethodoptimizer
Optimizer to use for the layout. Default: [`Optimizer::Adam`] when `compatibility_layout` is false, else [`Optimizer::Sgd`]. Adam and Momentum need th
packages/umap/umap/src/lib.rs:540
↓ 8 callersFunctionparse
(name: &str)
packages/umap/umap-wasm/src/lib.rs:50
↓ 8 callersMethodpartial_cmp
(&self, other: &Self)
packages/density-clustering/density_clustering/src/find_clusters.rs:37
↓ 8 callersMethodquery
Query the index for k nearest neighbors. @param query_data - Flat Float32Array (n_queries * n_features), row-major. @param n_queries - Number of quer
packages/umap/umap-wasm/src/lib.rs:1334
↓ 8 callersFunctionround
(alpha)
packages/umap/benchmark/benchmark/umap/report/report_lib.js:301
↓ 8 callersMethodset_params
Update the live parameters (learning rate, repulsion, negative-sample rate, and the a/b curve parameters). Changing `negative_sample_rate` re-seeds t
packages/umap/umap/src/optimize.rs:798
↓ 8 callersMethodtau_rand
A fast (pseudo)-random number generator for floats in [0, 1].
packages/umap/nndescent/src/rng.rs:59
↓ 7 callersFunction_detect_mime_type
Return the MIME type of image or audio bytes based on magic bytes, or None if unknown.
packages/backend/embedding_atlas/projection.py:295
↓ 7 callersFunctionadjusted
(ms: number)
packages/viewer/src/charts/common/formatter.ts:80
↓ 7 callersFunctionassert_close
(a: f64, b: f64, tol: f64)
packages/umap/umap/src/recursive_init.rs:1452
↓ 7 callersFunctionblobs
(n: usize, centers: &[[f32; 8]], seed: u64)
packages/umap/umap/src/recursive_init.rs:1700
↓ 7 callersMethodcmp
(&self, other: &Self)
packages/density-clustering/density_clustering/src/find_clusters.rs:25
↓ 7 callersFunctioncompute_clustering_column
Compute local clustering coefficient from a DataFrame that contains a neighbors column. The neighbors column format is the same as for c
packages/backend/embedding_atlas/graph_metrics.py:632
↓ 7 callersFunctioncompute_recall
Compute recall: fraction of true neighbors found.
packages/umap/nndescent/tests/test_nn_descent.rs:94
next →1–100 of 2,512, ranked by callers