Member Junction
    Preparing search index...

    POST /train response. Carries the serialized model plus the fitted preprocessing parameters (the anti-skew payload) and the deterministic metrics used to grade and rank the run.

    interface TrainResponse {
        artifact_b64: string;
        duration_sec: number;
        feature_importance: FeatureImportance;
        feature_importance_kind?: ImportanceKind;
        fitted_preprocessing: FittedPreprocessing;
        holdout_metrics?: ModelMetrics;
        metrics: ModelMetrics;
        training_row_count: number;
        validation_out_of_sample?: boolean;
    }
    Index

    Properties

    artifact_b64: string

    Base64-encoded serialized model artifact.

    duration_sec: number

    Wall-clock training time in seconds.

    feature_importance: FeatureImportance

    Per-feature importance/contribution.

    feature_importance_kind?: ImportanceKind

    Which kind of number feature_importance holds. Absent on sidecars that predate it.

    fitted_preprocessing: FittedPreprocessing

    Fitted preprocessing parameters (means/stds, vocabularies, bin edges, fill values) learned during /train. Travels with the model and is replayed at inference — never re-fit (plan §6.2).

    holdout_metrics?: ModelMetrics

    Honest metrics on the locked holdout, scored exactly once (plan §8.2).

    metrics: ModelMetrics

    Train + validation metrics.

    training_row_count: number

    Number of training rows the model was fit on (excludes any locked holdout, forwarded or sidecar-carved).

    validation_out_of_sample?: boolean

    True when the sidecar computed metrics strictly out-of-sample (fit on train fold/split only, scored on held-out fold/split); set per run from the validation path taken. Absent on pre-C5 sidecars.