Skip to content

Add moments for KroneckerNormalDistribution #5235

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

Merged
merged 2 commits into from
Jan 3, 2022

Conversation

anirudhacharya
Copy link
Contributor

Moments and tests for KroneckerNormalDistribution

@codecov
Copy link

codecov bot commented Dec 2, 2021

Codecov Report

Merging #5235 (76e6463) into main (36c7553) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5235      +/-   ##
==========================================
+ Coverage   79.01%   79.04%   +0.02%     
==========================================
  Files          87       87              
  Lines       14370    14376       +6     
==========================================
+ Hits        11354    11363       +9     
+ Misses       3016     3013       -3     
Impacted Files Coverage Δ
pymc/distributions/multivariate.py 73.76% <100.00%> (+0.22%) ⬆️
pymc/parallel_sampling.py 87.33% <0.00%> (+1.00%) ⬆️

@anirudhacharya
Copy link
Contributor Author

cc: @ricardoV94 for review.

@anirudhacharya
Copy link
Contributor Author

anirudhacharya commented Dec 13, 2021

@ricardoV94 is this PR good to go? The test failures in jax-sampling seem unrelated to this PR.

It is failing on test_sampling_jax.py::test_transform_samples and test_sampling_jax.py::test_get_log_likelihood with NotImplementedError

And the pre-commit is failing on some code formating issue, I think. Is there some specific pre-commit hook that you use? How do I make this pass?

@ricardoV94
Copy link
Member

Is there some specific pre-commit hook that you use?

Yes, it's explained in here: https://docs.pymc.io/en/latest/contributing/python_style.html

@ricardoV94 ricardoV94 mentioned this pull request Dec 13, 2021
51 tasks
@ricardoV94
Copy link
Member

The failing tests are likely due to dependency versions that have been fixed in the main branch. If you rebase your PR on top of it, they should go away.

Copy link
Member

@mjhajharia mjhajharia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, @ricardoV94 i saw this marked as done in #5078, can this be merged now?

@ricardoV94
Copy link
Member

We need to rebase and rerun tests, as they were failing

@anirudhacharya
Copy link
Contributor Author

anirudhacharya commented Jan 3, 2022 via email

@mjhajharia
Copy link
Member

no worries, i rebased it @anirudhacharya, the tests should pass now, thanks for contributing to PyMC!!!

@twiecki twiecki merged commit b6f76e5 into pymc-devs:main Jan 3, 2022
@anirudhacharya anirudhacharya deleted the KroneckerNormal branch July 7, 2022 20:51
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.

4 participants