Skip to content
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

Forward feature selection - begin with pre selected features #558

Closed
kazyka opened this issue Jun 24, 2019 · 2 comments
Closed

Forward feature selection - begin with pre selected features #558

kazyka opened this issue Jun 24, 2019 · 2 comments

Comments

@kazyka
Copy link
Contributor

kazyka commented Jun 24, 2019

Is it possible to do the forward feature selection, where I have defined some preselected features, that the model have to include in the forward feature selection algorithm? :)

@rasbt
Copy link
Owner

rasbt commented Jun 24, 2019

Unfortunately, this is currently not possible. However, it would be an interesting, useful addition to the current implementation. Also, I think it wouldn't be hard to implement. I.e., the _exclusion and _inclusion methods that do the heavy-lifting already have arguments like fixed_features and ignore_features for features that should not be considered for that particular step. To implement the feature you have in mind, these would just need to be seeded with a particular subset of features that you want to require.

@rasbt
Copy link
Owner

rasbt commented Aug 20, 2019

Just added a fixed_features param to the SFS via #578

@rasbt rasbt closed this as completed Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants