Member Junction
    Preparing search index...

    A single preprocessing operation in the train-time preprocessing list. These are declarations of what the sidecar should fit; the fitted parameters come back in TrainResponse.FittedPreprocessing. Mirrors the sklearn fit/transform split executed in the sidecar (plan §6.2).

    interface PreprocessingOp {
        bins?: number;
        col?: string;
        cols?: string[];
        fillValue?: string | number;
        op: string;
        strategy?: "mean" | "median" | "mode" | "constant";
    }
    Index

    Properties

    bins?: number

    Number of bins to fit when op is bin. The sidecar fits the edges; absent ⇒ sidecar default.

    col?: string

    Single target column for column-scoped ops (e.g. impute, onehot).

    cols?: string[]

    Multiple target columns for multi-column ops (e.g. standardize).

    fillValue?: string | number

    Fill value when strategy is constant.

    op: string

    The transform to apply. Examples from the plan: impute, standardize, onehot. Left as an open string union member so new sidecar-supported ops can be added without a breaking change to this contract.

    strategy?: "mean" | "median" | "mode" | "constant"

    Imputation strategy when op is impute.