create_pipelines: Create Pipelines

View source: R/utils.R

create_pipelinesR Documentation

Create Pipelines

Description

This function creates a list of Scikit-learn pipelines using the specified feature selection methods, preprocessing steps, and classifier.

Usage

create_pipelines(
  feature_selection_methods,
  preprocessing_steps,
  selected_methods,
  classifier,
  fs_param_grids
)

Arguments

feature_selection_methods

A list of feature selection methods to use for the pipelines.

preprocessing_steps

A list of preprocessing steps to use for the pipelines.

selected_methods

A vector of names of feature selection methods to use from the default set.

classifier

A Scikit-learn classifier to use as the final step in the pipelines.

fs_param_grids

param grid

Value

A list of Scikit-learn pipeline objects. Each pipeline is constructed based on the provided feature selection methods, preprocessing steps, and classifier. The list is named by feature selection methods.


GeneSelectR documentation built on May 29, 2024, 4:01 a.m.