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

max_iter values #105

Open
sacmax opened this issue Apr 15, 2022 · 3 comments
Open

max_iter values #105

sacmax opened this issue Apr 15, 2022 · 3 comments

Comments

@sacmax
Copy link

sacmax commented Apr 15, 2022

Hi,
Is there a way to find the optimal number for max_iter? I need to find it to reduce the runtime.
thanks,
Sac

@Wuuzzaa
Copy link

Wuuzzaa commented Apr 15, 2022

Hi,

set the early_stopping parameter = True. Take a look at n_iter_no_change too. Both of them are implementet but not in the version you get from pip (at least the last time i checked it).

Here is the part of the current source

early_stopping : bool, default = False

Hope this helps.

@sacmax
Copy link
Author

sacmax commented Apr 15, 2022

Thanks Wuuzzaa for your reply. Is there a easy way to get this version either using PIP or conda?

@Wuuzzaa
Copy link

Wuuzzaa commented Apr 15, 2022

Conda and PIP still use version 0.3 (which does not support early stopping).

Imho the easiest way is too clone this repo (or only the boruta.py file) into your project at least this worked for me. If you do this ensure to import the cloned file and not the boruta 0.3.

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