Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the What you really need to know section for the big picture.

julearn.TargetPipelineCreator

class julearn.TargetPipelineCreator

TargetPipelineCreator class.

Analogous to the PipelineCreator class, this class allows to create julearn.pipeline.target_pipeline.JuTargetPipeline objects in an easy way.

__init__()
add(step, name=None, **params)

Add a step to the pipeline.

Parameters:
  • step (str) – The step to add to the pipeline.

  • name (str | None, default: None) – The name of the step. If None, the name will be obtained from the step (default is None).

  • **params – Parameters for the step. This will mostly include hyperparameters or any other parameter for initialization.

to_pipeline()

Create a pipeline from the steps.

Returns:

The pipeline object.

Examples using julearn.TargetPipelineCreator

Transforming target variable with z-score

Transforming target variable with z-score

/auto_examples/99_docs/run_confound_removal_docs

Cross-validation consistent Confound Removal

/auto_examples/99_docs/run_target_transformer_docs

Applying preprocessing to the target