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

Too few features are selected #7

Open
ql257 opened this issue Apr 22, 2022 · 1 comment
Open

Too few features are selected #7

ql257 opened this issue Apr 22, 2022 · 1 comment

Comments

@ql257
Copy link

ql257 commented Apr 22, 2022

Hi, I tried to run controlburn.classifier on a dataset that has 62301 rows, and 1208 features, but it only outputs 2 features when I set alpha = 0.05. When I tried smaller alpha values like 0.005 or 0.0005, it raised an error "SolverError: Solver 'ECOS_BB' failed. Try another solver, or solve with verbose=True for more information.".

Thank you for reviewing the issue!

@brianliu12437
Copy link
Collaborator

Hi, try re-installing an updated version of ControlBurn from https://pypi.org/project/ControlBurn/0.1.2/ with an improved solver.
Also please check how many features are used by the original forests, either by accessing cb.forest or by running the lasso step with alpha = 0. If a few features are highly informative, the ensemble building step in ControlBurn may terminate after very few iterations.

Thanks,
Brian

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