Skip to content

@saehrimnir/druidjs / ParametersMINFOTree

Interface: ParametersMINFOTree

Defined in: dimred/index.js:138

Properties

PropertyTypeDescriptionDefined in
alpha?numberShrinkage applied to intra-cluster edge weights. Defaults to the golden ratio conjugate (√5-1)/2 ≈ 0.618, which the paper picks for interpretability rather than by tuning.dimred/index.js:151
clustering?"hierarchical" | "kmeans"How to obtain the labels when labels is not given. "hierarchical" uses Ward linkage, matching the paper's experiments.dimred/index.js:146
clusters?numberNumber of clusters to partition X into for the labels field. Required unless labels is given — the tree inherits whatever the clustering gets wrong, so there is no safe default. With the default hierarchical clustering the usable range is 2 … N-1, the number of merges a dendrogram cut can separate; "kmeans" has no such limit.dimred/index.js:142
d?numberthe dimensionality of the projection.dimred/index.js:140
eig_args?Partial<EigenArgs>Parameters for the eigendecomposition algorithm.dimred/index.js:162
epsilon?numberFloor on the curvature denominator, S = -ψ / (φ + epsilon), needed because φ and ψ both vanish for interior points as β grows. Default matches the author's reference implementation. See MINFOTree._information_curvature on how the interior/boundary curvature ordering depends on β.dimred/index.js:154
iterations?numberMaximum Kamada-Kawai gradient steps.dimred/index.js:160
k?numberNeighbors in the k-NN graph. Defaults to round(ln N), as in the paper.dimred/index.js:139
labels?| any[] | Int32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | nullPrecomputed labels, one per row of X. Bypasses the clustering step. Values may be of any type; they are remapped to 0 … q-1.dimred/index.js:148
layout?"MDS" | "kamada_kawai"How to lay the tree out. "MDS" stops after the classical-MDS warm start, which is far cheaper and often enough.dimred/index.js:158
metric?Metricthe metric which defines the distance between two points.dimred/index.js:141
seed?numberthe seed for the random number generator.dimred/index.js:161