Skip to main content

apply_pipeline

Function apply_pipeline 

Source
pub fn apply_pipeline(
    train_col: &[f64],
    test_col: &[f64],
    norm_method: NormMethod,
    outlier_threshold: f64,
) -> (Vec<f64>, Vec<f64>)
Expand description

One member’s full PreprocessingPipeline for a single column: fit on train_col, apply to both train_col and test_col. Order: CustomStandardScaler -> normalizer (if not NormMethod::None) -> OutlierRemover.