Liking cljdoc? Tell your friends :D

umap.graph

Fuzzy simplicial set construction — ports umap.umap_.smooth_knn_dist and compute_membership_strengths (the per-point numeric kernels are deftm), plus the t-conorm symmetrization (graph bookkeeping, plain Clojure for now).

Pipeline: kNN (dist,idx) -> smooth-knn-dist! (sigmas,rhos) -> membership-strengths! (per-edge weights) -> fuzzy-graph (symmetrize: A + Aᵀ - A∘Aᵀ) -> head/tail/weights.

Fuzzy simplicial set construction — ports umap.umap_.smooth_knn_dist and
compute_membership_strengths (the per-point numeric kernels are deftm), plus
the t-conorm symmetrization (graph bookkeeping, plain Clojure for now).

Pipeline: kNN (dist,idx) -> smooth-knn-dist! (sigmas,rhos)
          -> membership-strengths! (per-edge weights)
          -> fuzzy-graph (symmetrize: A + Aᵀ - A∘Aᵀ) -> head/tail/weights.
raw docstring

->fill-membership-coo!_m_ints_doubles_long_long_ints_ints_doubles_Implclj

(->fill-membership-coo!_m_ints_doubles_long_long_ints_ints_doubles_Impl)

Positional factory function for class umap.graph.fill-membership-coo!_m_ints_doubles_long_long_ints_ints_doubles_Impl.

Positional factory function for class umap.graph.fill-membership-coo!_m_ints_doubles_long_long_ints_ints_doubles_Impl.
sourceraw docstring

->graph->edges!_m_ints_ints_doubles_long_ints_ints_doubles_Implclj

(->graph->edges!_m_ints_ints_doubles_long_ints_ints_doubles_Impl)

Positional factory function for class umap.graph.graph->edges!_m_ints_ints_doubles_long_ints_ints_doubles_Impl.

Positional factory function for class umap.graph.graph->edges!_m_ints_ints_doubles_long_ints_ints_doubles_Impl.
sourceraw docstring

->membership-strengths!_m_ints_doubles_doubles_doubles_long_long_doubles_Implclj

(->membership-strengths!_m_ints_doubles_doubles_doubles_long_long_doubles_Impl)

Positional factory function for class umap.graph.membership-strengths!_m_ints_doubles_doubles_doubles_long_long_doubles_Impl.

Positional factory function for class umap.graph.membership-strengths!_m_ints_doubles_doubles_doubles_long_long_doubles_Impl.
sourceraw docstring

->smooth-knn-dist!_m_doubles_long_long_doubles_doubles_Implclj

(->smooth-knn-dist!_m_doubles_long_long_doubles_doubles_Impl)

Positional factory function for class umap.graph.smooth-knn-dist!_m_doubles_long_long_doubles_doubles_Impl.

Positional factory function for class umap.graph.smooth-knn-dist!_m_doubles_long_long_doubles_doubles_Impl.
sourceraw docstring

fill-membership-coo!clj

(fill-membership-coo! arg0 arg1 arg2 arg3 arg4 arg5 arg6)
source

fill-membership-coo!_m_ints_doubles_long_long_ints_ints_doublesclj

(fill-membership-coo!_m_ints_doubles_long_long_ints_ints_doubles & args__65456)
source

fill-membership-coo!_m_ints_doubles_long_long_ints_ints_doubles-implclj

source

fuzzy-graphclj

(fuzzy-graph idx vals n k)

Symmetric fuzzy simplicial set as a CSRMatrix: W = A + Aᵀ - A∘Aᵀ, where A[i, knn_idx[i,j]] = membership val. Thin glue around the deftm COO fill + raster.linalg.sparse CSR ops.

Symmetric fuzzy simplicial set as a CSRMatrix: W = A + Aᵀ - A∘Aᵀ, where
A[i, knn_idx[i,j]] = membership val. Thin glue around the deftm COO fill +
raster.linalg.sparse CSR ops.
sourceraw docstring

graph->edgesclj

(graph->edges W)

Expand a symmetric CSRMatrix into directed edge arrays for the layout.

Expand a symmetric CSRMatrix into directed edge arrays for the layout.
sourceraw docstring

graph->edges!clj

(graph->edges! arg0 arg1 arg2 arg3 arg4 arg5 arg6)
source

graph->edges!_m_ints_ints_doubles_long_ints_ints_doublesclj

(graph->edges!_m_ints_ints_doubles_long_ints_ints_doubles & args__65508)
source

graph->edges!_m_ints_ints_doubles_long_ints_ints_doubles-implclj

source

membership-strengths!clj

(membership-strengths! arg0 arg1 arg2 arg3 arg4 arg5 arg6)
source

membership-strengths!_m_ints_doubles_doubles_doubles_long_long_doublesclj

(membership-strengths!_m_ints_doubles_doubles_doubles_long_long_doubles
  &
  args__65404)
source

membership-strengths!_m_ints_doubles_doubles_doubles_long_long_doubles-implclj

source

smooth-knn-dist!clj

(smooth-knn-dist! arg0 arg1 arg2 arg3 arg4)
source

smooth-knn-dist!_m_doubles_long_long_doubles_doublesclj

(smooth-knn-dist!_m_doubles_long_long_doubles_doubles & args__65352)
source

smooth-knn-dist!_m_doubles_long_long_doubles_doubles-implclj

source

symmetrizeclj

(symmetrize idx vals n k)

Convenience: fuzzy graph -> directed edge arrays {:head :tail :weights}.

Convenience: fuzzy graph -> directed edge arrays {:head :tail :weights}.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close