Interface TSNEParams

Interface for t-SNE parameters, which extends the base dimensionality reduction parameters.

Hierarchy

Properties

dimensionality: number

The desired dimensionality of the output data.

epsilon: number

The epsilon parameter controls the learning rate for the optimization algorithm.

metric: ((a, b) => number | "precomputed")

Type declaration

    • (a, b): number | "precomputed"
    • The metric used to measure the distance between two points in the input data. Can be a function that takes two arrays of numbers and returns a number, or the string 'precomputed'.

      Parameters

      • a: number[]
      • b: number[]

      Returns number | "precomputed"

perplexity: number

The perplexity parameter controls the balance between preserving local and global structure in the data.

seed: number

The seed used to initialize the random number generator, if applicable.