Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the What you really need to know section for the big picture.
julearn.inspect.preprocess¶
- julearn.inspect.preprocess(pipeline, X, data, until=None, with_column_types=False)¶
Preprocess data with a pipeline until a certain step (inclusive).
- Parameters:
pipeline (
Pipeline) – The pipeline to use.data (
DataFrame) – The data to preprocess.until (
str|None, default:None) – The name of the step to preprocess until (inclusive). If None, will preprocess all steps (default is None).with_column_types (
bool, default:False) – Whether to include the column types in the output (default is False).
- Returns:
The preprocessed data.
Examples using julearn.inspect.preprocess¶
Preprocessing with variance threshold, zscore and PCA
Preprocessing with variance threshold, zscore and PCA