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

feat(_interfaces): modify prepare_scoring to allow make_scorer function as custom scoring #68

Closed
wants to merge 3 commits into from

Conversation

Juanpablor5
Copy link

@Juanpablor5 Juanpablor5 commented Oct 4, 2024

Summary

Modified prepare_scoring function to allow a make_scorer object as custom scoring.

Description

  • Currently, the prepare_scoring function for custom scoring cases is expecting a dictionary, not a make_scorer instance. With this change, the user is allowed to send a dictionary or a make_scorer object.

  • Added unit tests to check both scenarios.

@Juanpablor5 Juanpablor5 changed the title feat(readme): update custom scoring function documentation feat(_interfaces): modify prepare_scoring to allow make_scorer function as custom scoring Oct 7, 2024
@Juanpablor5 Juanpablor5 force-pushed the maa-jpra-readme_update branch from e3ff27b to 64c3b98 Compare October 7, 2024 22:33
@Juanpablor5 Juanpablor5 force-pushed the maa-jpra-readme_update branch from c322a8d to af17eb6 Compare October 7, 2024 22:43
@Juanpablor5 Juanpablor5 closed this Oct 9, 2024
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.

1 participant