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
{{ message }}
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
As per the title, when attempting to use the ExtraTreesRegressor class an sklearn.utils._param_validation.InvalidParameterError exception is raised as below.
sklearn.utils._param_validation.InvalidParameterError: The 'criterion' parameter of ExtraTreesRegressor must be a str among {'squared_error', 'poisson', 'friedman_mse', 'absolute_error'}. Got 'mse' instead.
It should be an easy fix. Just requires changing the default argument for criterion to either friedman_mse or squared_error I guess... Not sure which one of these would be most appropriate as the default...
The text was updated successfully, but these errors were encountered:
As per the title, when attempting to use the
ExtraTreesRegressor
class ansklearn.utils._param_validation.InvalidParameterError
exception is raised as below.The
ExtraTreesRegressor.criterion
attribute is set using a default optional argument to the constructor with the valuemse
. It looks like this criterion value was removed insklearn
1.2 as per this commit.It should be an easy fix. Just requires changing the default argument for
criterion
to eitherfriedman_mse
orsquared_error
I guess... Not sure which one of these would be most appropriate as the default...The text was updated successfully, but these errors were encountered: