- class lightautoml.pipelines.ml.base.MLPipeline(ml_algos, force_calc=True, pre_selection=None, features_pipeline=None, post_selection=None)
Single ML pipeline.
Merge together stage of building ML model (every step, excluding model training, is optional):
Pre selection: select features from input data. Performed by
Features generation: build new features from selected. Performed by
Post selection: One more selection step - from created features. Performed by
Hyperparams optimization for one or multiple ML models. Performed by
Train one or multiple ML models: Performed by
MLAlgo. This step is the only required for at least 1 model.
- __init__(ml_algos, force_calc=True, pre_selection=None, features_pipeline=None, post_selection=None)
Fit on train/valid iterator and transform on validation part.
Predict on new dataset.
Update prefix pipeline models names.
Used to fit inside AutoML where multiple models with same names may be trained.
str) – New prefix name.