Clusters
Defined in: metrics/separability.ts:19
Cluster bookkeeping shared by every metric here. Computed once.
Properties
Section titled “Properties”| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
assignment | readonly | Uint32Array | assignment[i] indexes into keys. | metrics/separability.ts:25 |
centroids | readonly | Float64Array | Cluster centroids, keys.length * d, row-major. | metrics/separability.ts:28 |
d | readonly | number | - | metrics/separability.ts:29 |
keys | readonly | readonly unknown[] | Distinct labels, in first-appearance order. | metrics/separability.ts:23 |
labels | readonly | readonly unknown[] | - | metrics/separability.ts:21 |
n | readonly | number | - | metrics/separability.ts:20 |
sizes | readonly | Uint32Array | - | metrics/separability.ts:26 |