Skip to content

Updating root_mean_squared_log_error & mean_squared_log_error #29686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 88 commits into from

Conversation

virchan
Copy link
Member

@virchan virchan commented Aug 18, 2024

Reference Issues/PRs

Towards #29678

What does this implement/fix? Explain your changes.

This PR updates the root_mean_squared_log_error and the mean_squared_log_error functions in sklearn.metrics.

The functions now check whether y_true and y_pred are within the correct domain for the function $y = \log(1 + x)$, rather than $y = \log(x)$, as was previously implemented.

Any other comments?

Comments and feedback are more than welcome!

`ensemble/_weight_boosting.py` file, moving it below the `Examples`
section for improved organization.

Included an AdaBoost example reference within the DecisionTree class in
the `tree/-class.py` file.
…sion Trees user guide.

- Modified the doc-string wording in the `AdaBoostClassifier` class referencing to the aforementioned example.
Copy link

github-actions bot commented Aug 18, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: e12bc49. Link to the linter CI: here

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.

1 participant