Skip to content

Weighted pearson #3134

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

matsumotosan
Copy link
Member

@matsumotosan matsumotosan commented Jun 16, 2025

What does this PR do?

Fixes part of #1235

New PR for #1759

  • Create separate class for weighted Pearson (similar to weighted MAPE)

    • previous PR tried to create single class for weighted and unweighted Pearson but that could result in someone trying to use the metric initialized as unweighted and later change to weighted (and vice versa)
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)

  • Did you read the contributor guideline, Pull Request section?

  • Did you make sure to update the docs?

  • Did you write any new necessary tests?

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@Borda
Copy link
Member

Borda commented Jun 18, 2025

@matsumotosan how is it going here? 🦩

@matsumotosan
Copy link
Member Author

@Borda Going to move over the test cases from the previous PR. Now that the weighted and unweighted metrics are separate, tests should be easier to write.

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.

2 participants