Skip to content

Fix deprecated friedman_mse criterion - #839

Open
SakshiNavle wants to merge 1 commit into
mljar:masterfrom
SakshiNavle:fix-friedman-mse-deprecation
Open

Fix deprecated friedman_mse criterion#839
SakshiNavle wants to merge 1 commit into
mljar:masterfrom
SakshiNavle:fix-friedman-mse-deprecation

Conversation

@SakshiNavle

Copy link
Copy Markdown

Description

Fixes #838.

The friedman_mse criterion for DecisionTreeRegressor is deprecated
in scikit-learn and will be removed in a future release.

Changes

  • Removed friedman_mse from Decision Tree regression hyperparameters.
  • Updated documentation to use squared_error.
  • Updated the documented default criterion to squared_error.

Testing

  • python -m unittest tests.tests_algorithms.test_decision_tree -v
  • All 3 tests passed.
  • git diff --check passes.
  • Verified no remaining friedman_mse references with git grep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix FutureWarning: Value "friedman_mse" for criterion is deprecated

1 participant