Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Repeated error Using Forest_optimize #1176

Open
gems-yo522 opened this issue Jul 26, 2023 · 1 comment
Open

Repeated error Using Forest_optimize #1176

gems-yo522 opened this issue Jul 26, 2023 · 1 comment

Comments

@gems-yo522
Copy link

I keep getting the following error when using forest_optimize with the base_estimator set to 'RF'

InvalidParameterError: The 'criterion' parameter of RandomForestRegressor must be a str among {'friedman_mse', 'absolute_error', 'squared_error', 'poisson'}. Got 'mse' instead.

@rfwebster
Copy link

same here - I think it is due to a depricated option in scikit-learn try uninstalling and then using:
$ pip install scikit-optimize scikit-learn==1.1.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants