Skip to main content

Module dataset

Module dataset 

Source
Expand description

Data-bound container shared by every conditional-independence test.

A Dataset is built once from named columns. Discrete columns are factorized up front into contiguous integer codes (0..cardinality) so the discrete tests can operate on cheap usize codes instead of repeatedly hashing floats. Continuous columns keep their raw f64 values. NaN values are rejected at construction (CIError::MissingData); choose and apply a missing-data convention (drop / impute) before binding.

Structs§

Dataset
A named, typed, immutable table of columns.

Enums§

ColumnKind
Whether a column holds categorical (discrete) or numeric (continuous) data.