Skip to content

feature_scoring: fix Regressor criterion depreciation#125

Merged
quaquel merged 1 commit intoquaquel:masterfrom
EwoutH:sklearn-depreciation
May 16, 2022
Merged

feature_scoring: fix Regressor criterion depreciation#125
quaquel merged 1 commit intoquaquel:masterfrom
EwoutH:sklearn-depreciation

Conversation

@EwoutH
Copy link
Copy Markdown
Collaborator

@EwoutH EwoutH commented May 16, 2022

scikit-learn 1.1 depreciated the use of "mse" as regression criterion, and replaced it with "squared_error". This commit fixes two of those instances in analysis/feature_scoring.py.

Deprecated since version 1.0: Criterion “mse” was deprecated in v1.0 and will be removed in version 1.2. Use criterion="squared_error" which is equivalent.

scikit-learn 1.1 depreciated the use of "mse" as regression criterion, and replaced it with "squared_error". This commit fixes two of those instances in analysis/feature_scoring.py.

"""Deprecated since version 1.0: Criterion “mse” was deprecated in v1.0 and will be removed in version 1.2. Use criterion="squared_error" which is equivalent."""
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 80.466% when pulling 6a443d5 on EwoutH:sklearn-depreciation into a99b71b on quaquel:master.

@quaquel quaquel merged commit c1da7cf into quaquel:master May 16, 2022
@EwoutH EwoutH mentioned this pull request May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants