Skip to content

NonMetricStressOptions

Defined in: metrics/nonmetric.ts:36

PropertyTypeDescriptionDefined in
maxPairs?numberRefuse to run beyond this many pairs, rather than attempting the allocation. Counts n(n-1)/2, so the default 60e6 admits N up to about 11 000. Budget roughly 44 bytes per pair: the distances, the sort order, the sorted copies and the fitted disparities all have to coexist.metrics/nonmetric.ts:43
signal?AbortSignal-metrics/nonmetric.ts:44