fastcit
    Preparing search index...

    Class Dataset

    A named, typed, immutable table of columns shared by the test classes.

    Construct from a JS object { name: { kind, values } } where kind is "discrete" or "continuous" and values is a number[], Float64Array, or (for discrete columns) a string[] (factorized first-seen). Discrete columns are factorized into integer codes inside the core. Reuse one Dataset across several tests to avoid re-copying the column arrays across the wasm boundary.

    Indexable

    • [key: number]: () => void
    Index
    • Internal: return a fresh handle sharing this dataset (used by the test constructors to accept a Dataset without consuming the caller's object). Stable marker for instance detection; not part of the public API surface.

      Returns Dataset

    • Returns void

    • Index of the column named name, or undefined if it is not present.

      Parameters

      • name: string

      Returns number | undefined

    • Number of columns.

      Returns number

    • Number of rows (observations).

      Returns number