Skip to content

TopologyOptions

Defined in: metrics/topology.ts:196

PropertyTypeDescriptionDefined in
distance?"bottleneck" | "wasserstein""bottleneck" (default) or "wasserstein".metrics/topology.ts:198
p?numberOrder 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