Skip to main content

PreprocessingPipeline

View source
Modality-aware preprocessing pipeline that handles column slicing. This pipeline applies a sequence of preprocessing steps to data, where each step can be registered to target specific feature modalities. The pipeline handles slicing columns based on registered modalities, passing only relevant columns to each step, reassembling data after each step, and tracking feature schema updates. For backwards compatibility, steps can be registered as (step, modalities) tuples where the step receives only columns matching the specified modalities, or as bare steps that receive all columns. In the latter case, the column modalities need to be tracked by the step itself. Going forward, only the former format will be supported. Initialize the pipeline with preprocessing steps.
Parameters

PreprocessingPipeline.fit_transform

View source
Fit and transform the data using the pipeline.
Parameters
Returns

PreprocessingPipeline.transform

View source
Transform the data using the fitted pipeline.
Parameters
Returns

PreprocessingPipeline.num_added_features

View source
Return the number of added features. Threads an evolving feature schema through the steps so that each step sees the feature count that includes columns added by prior steps.
Parameters
Returns

PreprocessingPipeline.has_data_dependent_feature_expansion

View source
Return True if any step has data-dependent feature expansion.
Returns

Clean the data by converting dtypes and ordinally encoding categorical columns.
Parameters
Returns

fit_preprocessing

View source
Fit preprocessing pipelines in parallel.
Parameters
Returns

generate_classification_ensemble_configs

View source
Generate ensemble configurations for classification.
Parameters
Returns

generate_regression_ensemble_configs

View source
Generate ensemble configurations for regression.
Parameters
Returns

PreprocessingPipelineResult

View source
Result from the preprocessing pipeline.
Fields

PreprocessingStepResult

View source
Result of a feature preprocessing step.
Fields