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:
pipelinePipeline

The pipeline to use.

Xlist of str

The features to use.

datapd.DataFrame

The data to preprocess.

untilstr, optional

The name of the step to preprocess until (inclusive). If None, will preprocess all steps (default is None).

with_column_typesbool, optional

Whether to include the column types in the output (default is False).

Returns:
pd.DataFrame

The preprocessed data.

Examples using julearn.inspect.preprocess#

Inspecting SVM models

Inspecting SVM models

Preprocessing with variance threshold, zscore and PCA

Preprocessing with variance threshold, zscore and PCA

Regression Analysis

Regression Analysis

Return Confounds in Confound Removal

Return Confounds in Confound Removal