Questions tagged [rfe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

How recursive feature elimination with cross validation internally works?

I am trying to understand how recursive feature elimination with cross validation works (the RFECV on sklearn). Lets say that we have 10 features, and we perform <...
ado sar's user avatar
  • 171
0 votes
0 answers
36 views

RFE vs Elastic Net Feature Selection

I'm needing some advice on whether to use RFE or just simple Elastic Net feature selection. My dataset is a lot wider than it is long, about 7500 variables with ~2500 observations. The 7500 variables ...
Lcsballer1's user avatar
1 vote
1 answer
19 views

How to choose Recursive Feature Elimination parameters

in my project I have >900 features and I thought to use Recursive Feature Elimination algorithm to reduce the dimensionality of my problem (in order to improve the accuracy). But I can't figure out ...
Giorgio Martinez's user avatar
1 vote
0 answers
102 views

RFECV for feature selection for imbalanced dataset

I am new in machine learning and just learned about feature selection. In my project, I have a dataset with 89% being a majority class and 11% as the minority class. Also, I have 24 features. I opted ...
laguna's user avatar
  • 11
2 votes
1 answer
2k views

Why do I get an ValueError for an SVR model with RFE, but only when using pipeline?

I am running five different regression models to find the best predicting model for one variable. I am using a Leave-One-Out approach and using RFE to find the best predicting features. Four of the ...
Clarius333's user avatar
0 votes
0 answers
403 views

Pipelines with categorical and nan values

I am trying a Regression model on a dataset which has categorical and numerical variables along with nan values. I want to use Pipelines for imputation and encoding purposes. Now I have a few ...
spectre's user avatar
  • 1,566
1 vote
0 answers
67 views

how could RFECV ever give the same score to all number of features selected?

I built an XGB and ran RFECV over 250 features. After an hour or so, I plotted the grid_scores_. All numbers of features are within 0.02, as clearly visible on the y-axis. To me this plot would ...
Monica Heddneck's user avatar
0 votes
0 answers
18 views

Create a pipeline for recursive eliminartion using artifical neural nets

I am trying to use RFE with Artificial neural nets but I am getting the error that "'Sequential' object has no attribute '_get_tags'" . Here is my code snippet. Any help would be appreciated....
Kanan H Patel's user avatar
1 vote
1 answer
154 views

Is Recursive Feature Elimination finding best features subset?

On a set of 9 features I have applied Recursive Feature Elimination (RFE) algorithm using SVM estimator, following approach from (1). When requesting a subset of size 1 to be found, then RFE returned ...
dzieciou's user avatar
  • 687