TopologyOptions
Defined in: metrics/topology.ts:196
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
distance? | "bottleneck" | "wasserstein" | "bottleneck" (default) or "wasserstein". | metrics/topology.ts:198 |
p? | number | Order for the Wasserstein distance. Default 1. | metrics/topology.ts:200 |
scale? | "none" | "diameter" | How to make the two diagrams comparable. "diameter" (default) divides each by its own space’s largest pairwise distance, which makes the measure invariant to the arbitrary scale of a projection — t-SNE and UMAP output has no meaningful units. "none" compares raw values. | metrics/topology.ts:207 |