Member Junction
    Preparing search index...
    Index

    Constructors

    Methods

    • Reduce an array of high-dimensional vectors to 2D points using UMAP (falls back to PCA if UMAP is unavailable).

      This is a standalone helper when you only need dimensionality reduction without clustering.

      Parameters

      • vectors: number[][]

        Array of raw number arrays (each the same length).

      Returns Promise<{ x: number; y: number }[]>

      Array of {x, y} points in the same order as input.