Skip to content
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

Fix breaking change in sklearn in log_loss #2106

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

miguelgfierro
Copy link
Collaborator

@miguelgfierro miguelgfierro commented Jun 3, 2024

Description

Sklearn removed eps parameter in log_loss.

See 0.5.0 https://github.com/scikit-learn/scikit-learn/blob/abbaed326c8f0e4a8083979701f01ce581612713/sklearn/metrics/_classification.py#L2829C30-L2829C31

vs
0.4.2: https://github.com/scikit-learn/scikit-learn/blob/8721245511de2f225ff5f9aa5f5fadce663cd4a3/sklearn/metrics/_classification.py#L2822

Related Issues

References

Checklist:

  • I have followed the contribution guidelines and code style for this project.
  • I have added tests covering my contributions.
  • I have updated the documentation accordingly.
  • I have signed the commits, e.g. git commit -s -m "your commit message".
  • This PR is being made to staging branch AND NOT TO main branch.

@miguelgfierro miguelgfierro merged commit 058300d into staging Jun 5, 2024
38 checks passed
@miguelgfierro miguelgfierro deleted the bug/log_loss_breaking_change branch June 5, 2024 04:59
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.

2 participants