Skip to content

@saehrimnir/druidjs / ParametersLocalMAP

Interface: ParametersLocalMAP

Defined in: dimred/index.js:240

Properties

PropertyTypeDescriptionDefined in
apply_pca?booleanReduce inputs wider than 100 dimensions to 100 via PCA before the search and the initialization.dimred/index.js:252
d?numberthe dimensionality of the projection.dimred/index.js:244
FP_ratio?numberFurther pairs per point, as a multiple of n_neighbors.dimred/index.js:243
knn?| KNN<number[] | Float64Array<ArrayBufferLike>, any> | nullIndex used to find the neighbors. If null, an exact blocked search runs instead. Default is nulldimred/index.js:250
low_dist_thres?numberEmbedding distance below which a point may be redrawn as a further pair in phase 3. Also sets the local attraction scale, low_dist_thres / 2.dimred/index.js:248
lr?numberlearning rate of the Adam optimizer.dimred/index.js:246
metric?Metricthe metric which defines the distance between two points.dimred/index.js:245
MN_ratio?numberMid-near pairs per point, as a fraction of n_neighbors.dimred/index.js:242
n_neighbors?numberNumber of nearest neighbors forming the attractive pairs.dimred/index.js:241
num_iters?number[]Iterations in each of the three phases.dimred/index.js:247
seed?numberthe seed for the random number generator.dimred/index.js:254