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

Adding get_random_seed(), and adding func calc_quantile_crps() #260

Merged
merged 3 commits into from
Dec 8, 2023
Merged

Conversation

WenjieDu
Copy link
Owner

@WenjieDu WenjieDu commented Dec 8, 2023

What does this PR do?

  1. fixing Need a func to calc CRPS for evaluating imputation from probabilistic models like CSDI #259;
  2. adding get_random_see();

Before submitting

  • Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have written necessary tests and already run them locally.

@coveralls
Copy link
Collaborator

coveralls commented Dec 8, 2023

Pull Request Test Coverage Report for Build 7144108583

  • 102 of 156 (65.38%) changed or added relevant lines in 15 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.6%) to 83.043%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pypots/utils/metrics/classification.py 15 25 60.0%
pypots/utils/metrics/clustering.py 26 44 59.09%
pypots/utils/metrics/error.py 34 60 56.67%
Totals Coverage Status
Change from base Build 7125620794: -0.6%
Covered Lines: 4809
Relevant Lines: 5791

💛 - Coveralls

@WenjieDu WenjieDu merged commit d504e6b into main Dec 8, 2023
12 checks passed
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.

None yet

2 participants