LGBSimpleFeatures

class lightautoml.pipelines.features.lgb_pipeline.LGBSimpleFeatures(**kwargs)[source]

Bases: lightautoml.pipelines.features.base.FeaturesPipeline

Creates simple pipeline for tree based models.

Simple but is ok for select features. Numeric stay as is, Datetime transforms to numeric. Categorical label encoding. Maps input to output features exactly one-to-one.

create_pipeline(train)[source]

Create tree pipeline.

Parameters

train (Union[PandasDataset, NumpyDataset]) – Dataset with train features.

Return type

LAMLTransformer

Returns

Composite datetime, categorical, numeric transformer.