EpistasisLab / EpistasisLab/tpot

standardize features for feature selection, but not for model

Open
#1,202 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

In my pipeline I use the SelectFromModel step with a LinearRegression model for feature selection. It requires standardization of the input features using the StandardScaler. But I would like to maintain the features in their original units for the final model step.

Is there a way to accomplish this in a single sklearn pipeline? So that I only allow StandardScaler for the feature selection, but not for the model step to maintain the coefficients of the model in the original unit?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.