MCPcopy Create free account

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

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

↓ 7 callersFunctioneigh_jacobi
Symmetric eigendecomposition via Jacobi rotations. Input: `a` is an m×m symmetric matrix in row-major flat layout. Returns (eigenvalues sorted ascendi
packages/umap/umap/src/spectral.rs:15
↓ 7 callersMethodgpu
Enable GPU acceleration for distance computation. Default: false. Requires the `gpu` crate feature. When enabled, distance computation is offloaded t
packages/umap/nndescent/src/lib.rs:168
↓ 7 callersMethodheight
(&self)
packages/density-clustering/density_clustering/src/array_2d.rs:51
↓ 7 callersMethodinsert
(key: number, priority: number)
packages/component/src/lib/dynamic_label_placement/priority_queue.ts:12
↓ 7 callersMethodnext_u64
(&mut self)
packages/umap/nndescent/src/rng.rs:120
↓ 7 callersFunctionnormalize_knn_self_column
Canonicalize a precomputed kNN graph into the form [`fuzzy_simplicial_set`] expects: column 0 is the point itself (distance 0) and the remaining colum
packages/umap/umap/src/graph.rs:589
↓ 7 callersMethodrandom_range_i64
Random i64 in [lo, hi).
packages/umap/nndescent/src/rng.rs:151
↓ 7 callersMethodsetValue
(newValue: T)
packages/utils/src/dataflow.ts:57
↓ 7 callersMethodstatefulDerive
Creates a stateful derived value.
packages/utils/src/dataflow.ts:308
↓ 7 callersMethodwidth
(&self)
packages/density-clustering/density_clustering/src/array_2d.rs:47
↓ 6 callersFunction_to_canonical_binary
Convert series to canonical image format: list[{"bytes": bytes}].
packages/backend/embedding_atlas/projection.py:392
↓ 6 callersFunctionadam_optimizer
(head: Vec<usize>, tail: Vec<usize>, eps: &[f32])
packages/umap/umap/src/optimize.rs:970
↓ 6 callersMethodbase_uniforms
(&self)
packages/umap/umap/src/gpu_layout_modern.rs:645
↓ 6 callersFunctionblock_ring_graph
Block-diagonal graph; each block is a ring where every vertex links to its two nearest neighbors on both sides (a complete graph for blocks below 5).
packages/umap/umap/src/spectral.rs:1305
↓ 6 callersFunctionbuild
(p, random_state)
packages/umap/benchmark/benchmark/umap/sweep.py:172
↓ 6 callersFunctionclique_ring
Symmetric ring-of-cliques edge list in CSR order.
packages/umap/umap/src/optimize.rs:948
↓ 6 callersFunctioncompute_kcore_column
Compute k-core decomposition from a DataFrame that contains a neighbors column. The neighbors column format is the same as for compute_p
packages/backend/embedding_atlas/graph_metrics.py:523
↓ 6 callersMethodconnect
()
packages/viewer/src/app/reconnecting_websocket.ts:33
↓ 6 callersMethodcreate
Create a class instance on the worker and return a typed proxy.
packages/utils/src/worker_helper.ts:76
↓ 6 callersFunctioncreateUMAP
(count, inputDim, outputDim, data, options = {})
packages/umap/umap-wasm/index.js:42
↓ 6 callersFunctiondeepEquals
(a: any, b: any)
packages/utils/src/equals.ts:13
↓ 6 callersFunctiondevice
()
packages/umap/umap/src/gpu_layout_modern.rs:961
↓ 6 callersFunctiondot_product
(a: &[f32], b: &[f32])
packages/umap/nndescent/src/rp_trees.rs:12
↓ 6 callersMethodeq
(&self, other: &QueueItem)
packages/density-clustering/density_clustering/src/find_clusters.rs:18
↓ 6 callersFunctionfile_cache_value
Retrieve a cached value or compute and cache it if not present. This is a read-through cache helper: if a cached value exists for the given
packages/backend/embedding_atlas/cache.py:158
↓ 6 callersFunctioninvokeWorker
(name: string, payload: any, transfer: Transferable[] = [])
packages/component/src/lib/embedding_view/worker/index.ts:29
↓ 6 callersMethoditer_coords
(&self)
packages/density-clustering/density_clustering/src/array_2d.rs:63
↓ 6 callersMethodlimit
()
packages/viewer/src/inference/utils.ts:111
↓ 6 callersFunctionmake_knn
Exact euclidean kNN in the umap-learn layout: row i lists point i itself in column 0 (distance 0), then its `k-1` nearest neighbors sorted ascending.
packages/umap/umap/src/lib.rs:1355
↓ 6 callersFunctionmake_test_data
(n: usize, dim: usize, seed: u64)
packages/umap/nndescent/tests/test_gpu.rs:11
↓ 6 callersFunctionmap_buffer_read
( device: &wgpu::Device, buffer: &wgpu::Buffer, range: std::ops::Range<u64>, )
packages/umap/nndescent/src/gpu.rs:103
↓ 6 callersFunctionmountComponent
( component: Component<Props>, target: Element | ShadowRoot, props: Props, )
packages/utils/svelte/mount_component.svelte.ts:34
↓ 6 callersFunctionoptimize
(embedding: &mut Array2<f32>, graph: &CsrMatrix, params: &ModernLayoutParams)
packages/umap/umap/src/layout_modern.rs:1201
↓ 6 callersMethodposition
(&self, node: usize)
packages/umap/umap/src/layout_modern.rs:767
↓ 6 callersFunctionpython_partner
(variant: Variant)
packages/umap/benchmark/benchmark/umap/sweep_config.py:68
↓ 6 callersMethodquery
Query the index for k nearest neighbors of query points. # Arguments `query_data` - Array of shape (n_queries, n_features) `k` - Number of neighbors
packages/umap/nndescent/src/lib.rs:604
↓ 6 callersFunctionread
(key: string | symbol)
packages/utils/svelte/mount_component.svelte.ts:52
↓ 6 callersFunctionrescale_embedding
Center `embedding` and scale it by `method`. `graph` is only read by [`InitRescale::GraphEdge`].
packages/umap/umap/src/init.rs:47
↓ 6 callersFunctionresolve
(v)
packages/utils/src/worker_helper.ts:133
↓ 6 callersMethodrun_to
Run to a fixed horizon with linear learning-rate decay, mirroring standard run-to-completion UMAP. A fresh optimizer started at epoch 0 reproduces the
packages/umap/umap/src/optimize.rs:714
↓ 6 callersFunctionsetup
(builder: UmapBuilder<'_>)
packages/umap/umap/src/lib.rs:1956
↓ 6 callersMethodview
(&self)
packages/umap/umap/src/lib.rs:177
↓ 5 callersMethodadd_internal
( &mut self, hyperplane: Vec<f32>, offset: f32, left: usize, right: us
packages/umap/nndescent/src/rp_trees.rs:64
↓ 5 callersMethodadd_leaf
(&mut self, indices: Vec<i32>)
packages/umap/nndescent/src/rp_trees.rs:55
↓ 5 callersFunctionasync_file_cache_value
Async version of ``file_cache_value``. Identical behaviour but *value_func* is awaited on a cache miss.
packages/backend/embedding_atlas/cache.py:243
↓ 5 callersFunctionbytes
(values)
packages/utils/test/media.test.js:28
↓ 5 callersFunctionchecked_flagged_heap_push
Push a value with a flag into a max-heap, checking for duplicates. Returns 1 if inserted, 0 if rejected or duplicate.
packages/umap/nndescent/src/heap.rs:130
↓ 5 callersFunctioncompute_degree_columns
Compute in-degree, out-degree, and degree from a DataFrame that contains a neighbors column. The neighbors column format is the same as
packages/backend/embedding_atlas/graph_metrics.py:355
↓ 5 callersFunctioncompute_membership_strengths
Convert kNN distances to fuzzy set membership strengths.
packages/umap/umap/src/graph.rs:426
↓ 5 callersMethodembeddings
(inputs: EmbeddingInput[])
packages/viewer/src/inference/embedding.ts:110
↓ 5 callersFunctionfieldExpr
(field: SQLField)
packages/component/src/lib/embedding_view/data/fields.ts:11
↓ 5 callersFunctionfieldExpr
(field: SQLField, context: { table: string })
packages/viewer/src/charts/features/utils.ts:9
↓ 5 callersFunctiongpu_layout
( (device, queue): (wgpu::Device, wgpu::Queue), graph: &CsrMatrix, embedding: &Array2<
packages/umap/umap/src/gpu_layout_modern.rs:976
↓ 5 callersFunctionknn_graph
(data: &Array2<f32>, k: usize)
packages/umap/umap/src/recursive_init.rs:1709
↓ 5 callersFunctionload_pandas_data
(url: str)
packages/backend/embedding_atlas/utils.py:19
↓ 5 callersFunctionmake_epochs_per_sample
Compute epochs_per_sample for each edge based on weight. Edges with higher weight are sampled more frequently.
packages/umap/umap/src/graph.rs:529
↓ 5 callersFunctionmake_spatial_data
Generate deterministic spatial test data matching conftest.py. Shape: (12, 20) - 10 random rows (seeded) + 2 zero rows. We use our own TauRng for repr
packages/umap/nndescent/tests/test_distances.rs:22
↓ 5 callersMethodpop_stage
Pop (exit) the current stage. Reports progress at stage end.
packages/umap/nndescent/src/logger.rs:78
↓ 5 callersMethodpush_stage_with_message
Push (enter) a stage with a custom verbose message. Reports progress at stage start and logs the message.
packages/umap/nndescent/src/logger.rs:58
↓ 5 callersMethodrandom_f64
(&mut self)
packages/umap/nndescent/src/rng.rs:134
↓ 5 callersFunctionrdist
(x: &[f32], y: &[f32])
packages/umap/umap/src/optimize.rs:77
↓ 5 callersFunctionrequest_device
Request a high-performance device with the adapter's full limits. Returns `None` if no suitable adapter is available.
packages/umap/umap/src/gpu_optimize.rs:108
↓ 5 callersFunctionresolveSQLTemplate
(template: string, vars: Record<string, string>)
packages/viewer/src/utils/database.ts:50
↓ 5 callersMethodset_optimizer
Switch optimizer. Momentum and Adam start with fresh state (moments, sampling schedules, orderings), continuing their schedules from the current epoch
packages/umap/umap/src/optimize.rs:846
↓ 5 callersFunctionspectral_layout
Spectral embedding of the graph from the eigenvectors of the normalized Laplacian L = I - D^{-1/2} A D^{-1/2}. A graph with several connected componen
packages/umap/umap/src/spectral.rs:695
↓ 5 callersFunctionstandard_normal
(rng: &mut Xoshiro256StarStar)
packages/umap/umap/src/recursive_init.rs:474
↓ 5 callersMethodsubgraph
()
packages/utils/src/dataflow.ts:351
↓ 5 callersFunctiontryInvoke
* Invoke the method on target if defined, and if all args are defined.
packages/utils/src/interaction_handler.ts:41
↓ 5 callersFunctionupdate
(updater: (value: T) => T)
packages/viewer/src/utils/store.ts:143
↓ 5 callersMethoduses_compatibility_layout
Resolved like umap-learn's `_resolve_layout_options`: unset means the modern pipeline exactly when a modern optimizer is requested.
packages/umap/umap/src/lib.rs:551
↓ 4 callersFunction_assert_projection_result
(result, n=NUM_SAMPLES)
packages/backend/tests/test_projection_litellm.py:90
↓ 4 callersFunction_derive_cache_key_and_encryption_key
( value: Any, scope: str | None, cache_root: Path )
packages/backend/embedding_atlas/cache.py:353
↓ 4 callersMethod_make_df
(self)
packages/backend/tests/test_degree.py:162
↓ 4 callersMethod_make_df
(self, indices, distances, col="__neighbors")
packages/backend/tests/test_kcore.py:135
↓ 4 callersFunction_resolve_cache_root
(cache_root: str | Path | None = None)
packages/backend/embedding_atlas/cache.py:304
↓ 4 callersMethod_syncHistory
()
packages/viewer/src/stores/embedding_atlas_store.ts:352
↓ 4 callersFunction_to_canonical_text
Convert series to canonical text format: list[str] with nulls as 'null'.
packages/backend/embedding_atlas/projection.py:387
↓ 4 callersFunction_to_canonical_vector
Convert series to canonical vector format: list[ndarray[float32]].
packages/backend/embedding_atlas/projection.py:410
↓ 4 callersFunctionassert_thread_count_invariant
(n_per_blob: usize, params: ModernLayoutParams)
packages/umap/umap/src/layout_modern.rs:1310
↓ 4 callersFunctionbrute_force_knn_query
Brute-force k-nearest neighbor for query points against a data set.
packages/umap/nndescent/tests/test_nn_descent.rs:65
↓ 4 callersMethodcancel
Cancel the pending or running generation of a layer (a running generation's result is dropped).
packages/component/src/lib/embedding_view/label_layers.ts:233
↓ 4 callersFunctioncategoryIndexExpr
(value: SQL.ExprNode, scale: ColorScale | null | undefined)
packages/component/src/lib/embedding_view/data/fields.ts:66
↓ 4 callersFunctionchunkInputs
(inputs: T[], size: number)
packages/viewer/src/inference/utils.ts:9
↓ 4 callersMethodchunks
Ranges of keys covering consecutive positions, for querying a table in chunks: * `[keys[start], keys[end - 1]]` for chunks of `chunkSize` position
packages/component/src/lib/embedding_view/data/key_index.ts:71
↓ 4 callersMethodclose
(self)
packages/umap/benchmark/benchmark/common.py:116
↓ 4 callersFunctionconstant
(length: number, value: T)
packages/viewer/src/charts/spec/layer_helper.ts:30
↓ 4 callersFunctiondatasets_dir
Return the datasets directory for a benchmark suite.
packages/umap/benchmark/benchmark/common.py:23
↓ 4 callersFunctiondebounce
(func: (...args: T) => void, time: number = 1000)
packages/utils/src/debounce.ts:4
↓ 4 callersMethodfetchEndpoint
(endpoint: string, init?: RequestInit)
packages/viewer/src/app/backend_data_source.ts:115
↓ 4 callersFunctiongpu_embedding
(gpu: &mut GpuModernLayout)
packages/umap/umap/src/gpu_layout_modern.rs:996
↓ 4 callersFunctiongraph_without_edges
(n: usize)
packages/umap/umap/src/init.rs:246
↓ 4 callersFunctioninferBinning
( stats: { min: number; minPositive: number; max: number; median: number; count: number }, options: {
packages/viewer/src/charts/common/binning.ts:31
↓ 4 callersFunctioninferProvider
(name: string)
packages/viewer/src/inference/resolve.ts:25
↓ 4 callersFunctioninferTimeFormatter
(values: number[], hasTimezone: boolean = false)
packages/viewer/src/charts/common/formatter.ts:71
↓ 4 callersMethodinstall_layout_state
Install the state of the current optimizer: Momentum/Adam on the GPU when a device is available, else on the CPU; the SGD GPU context for Sgd.
packages/umap/umap/src/optimize.rs:395
↓ 4 callersFunctioninvalid_message
(builder: UmapBuilder<'_>)
packages/umap/umap/src/lib.rs:1960
↓ 4 callersFunctionjsTypeFromDBType
(dbType: string)
packages/viewer/src/utils/db_types.ts:21
↓ 4 callersFunctionjs_field
(options: &JsValue, key: &str)
packages/umap/umap-wasm/src/lib.rs:208
↓ 4 callersFunctionlayerNeedsDensity
Whether a layer needs its source's density in this frame.
packages/component/src/lib/webgpu_renderer/renderer.ts:837
↓ 4 callersFunctionload_dataset
(source)
packages/umap/benchmark/benchmark/umap/sweep_data.py:85
← previousnext →101–200 of 2,512, ranked by callers