Extraction of stages from a Pipeline or PipelineModel object.
ml_stage(x, stage)ml_stages(x, stages = NULL)
A ml_pipeline or a ml_pipeline_model object
The UID of a stage in the pipeline.
The UIDs of stages in the pipeline as a character vector.
For ml_stage(): The stage specified.
For ml_stages(): A list of stages. If stages is not set, the function returns all stages of the pipeline in a list.