-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Unable to pass splits to SequentialFeatureSelector #25957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The internal algorithm will use the Passing a list (e.g. I think that there is no obvious way to make a clone of the generator. Instead, I think that the best solution would be to alternate the documentation and mention that the iterable need to be a list and not a generator. |
Thank you! Passing a list works. Updating the documentation seems like a good idea. |
Hi, is anyone working on updating the documentation? If not I'm willing to do that. It should be an API documentation for the ·SequentialFeatureSelector· class right? For instance, add
By the way, is it better to also add something to |
Thinking a bit more about it, we could call |
/take |
@glemaitre Just to make sure: should we
or
|
We don't need a warning, |
Okay I understand, thanks for your explanation. |
Describe the bug
This runs fine with e.g.
cv=5
, but according to the documentation, it should also be able to take an iterable of splits.However, passing splits from the cross validator fails
Im fairly certain I have done similar things in the past to other classes in scikit-learn requiring a
cv
parameter.If somebody could confirm wether this is a bug, or I'm doing something wrong, that would great. Sorry if this is unneeded noise in the feed.
Steps/Code to Reproduce
Expected Results
Expected to run without errors
Actual Results
Versions
The text was updated successfully, but these errors were encountered: