You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that boruta passes RandomState(MT19937) to the model it is fitting regardless of the model's parameters. This doesn't bother a random forest model, but causes an xgBoost model to fail with the following error:
ValueError: Please check your X and y variable. The provided estimator cannot be fitted to your data. Invalid Parameter format for seed expect int but value='RandomState(MT19937)'
The text was updated successfully, but these errors were encountered:
If you are concerned with the seed you could pass something nicer.. this is just a hack.
I'm not sure if this is the best way to do it but maybe boruta should instead of passing the seed object it should take a seeded integer like this so it's compatible with more models (xgboost). I would suggest it taking either a seed integer, or if it's a seed object to generate the first integer from that object.
It seems that boruta passes RandomState(MT19937) to the model it is fitting regardless of the model's parameters. This doesn't bother a random forest model, but causes an xgBoost model to fail with the following error:
ValueError: Please check your X and y variable. The provided estimator cannot be fitted to your data. Invalid Parameter format for seed expect int but value='RandomState(MT19937)'
The text was updated successfully, but these errors were encountered: