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:
- stepstr
The step to add to the pipeline.
- namestr, optional
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:
- outJuTargetPipeline
The pipeline object.
Examples using julearn.TargetPipelineCreator
#
Transforming target variable with z-score
Applying preprocessing to the target
Cross-validation consistent Confound Removal