@saehrimnir/druidjs / ParametersLocalMAP
Interface: ParametersLocalMAP
Defined in: dimred/index.js:246
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
apply_pca? | boolean | Reduce inputs wider than 100 dimensions to 100 via PCA before the search and the initialization. | dimred/index.js:260 |
d? | number | the dimensionality of the projection. | dimred/index.js:250 |
FP_ratio? | number | Further pairs per point, as a multiple of n_neighbors. | dimred/index.js:249 |
knn? | | KNN<number[] | Float64Array<ArrayBufferLike>, any> | null | Index used to find the neighbors. If null, an exact blocked search runs instead. Default is null | dimred/index.js:258 |
low_dist_thres? | number | Embedding 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:256 |
lr? | number | learning rate of the Adam optimizer. | dimred/index.js:254 |
metric? | Metric | "precomputed" | the metric which defines the distance between two points, or "precomputed" when X is an N × N distance matrix. Then the start is classical MDS on it instead of PCA, and apply_pca has no effect. | dimred/index.js:251 |
MN_ratio? | number | Mid-near pairs per point, as a fraction of n_neighbors. | dimred/index.js:248 |
n_neighbors? | number | Number of nearest neighbors forming the attractive pairs. | dimred/index.js:247 |
num_iters? | number[] | Iterations in each of the three phases. | dimred/index.js:255 |
seed? | number | the seed for the random number generator. | dimred/index.js:262 |