InvalidParameterError
I got this error when running the visualizing-results.ipynb notebook
InvalidParameterError: The 'criterion' parameter of ExtraTreesRegressor must be a str among {'friedman_mse', 'squared_error', 'absolute_error', 'poisson'}. Got 'mse' instead.
Cheers,
Daniel
I got the same error when trying to use forest_minimize. Looking into the code, I think their custom ExtraTreesRegressor and RandomForestRegressor uses 'mse' instead of 'friedman_mse', probably needs to be changed.
Has the development been stopped?
skopt 0.9.0 sklearn 1.2.2
Still getting this error.
InvalidParameterError: The 'criterion' parameter of RandomForestRegressor must be a str among {'poisson', 'absolute_error', 'squared_error', 'friedman_mse'}. Got 'mse' instead.
Function call -
results = skopt.forest_minimize(my_objective, SPACE, n_calls=100, base_estimator="RF")
@Daniel-Trung-Nguyen @ryanbbrown any workaround apart from downgrading scikit-learn?