Function simpleClustering

  • Parameters

    • dataMatrix: number[] | number[][]

      Similarity/connectivity matrix or array representing the upper triangular of the matrix.

    • Optionaloptions: { out?: "values" | "assignment" | "indexes"; threshold?: number } = {}

      options.

      • Optionalout?: "values" | "assignment" | "indexes"

        Output type, it could to have value of 'assignment', 'values', 'indexes

      • Optionalthreshold?: number

        threshold to ignore an element value

    Returns number[][]