pyro-ppl / brmp

Bayesian Regression Models in Pyro
Apache License 2.0
69 stars 8 forks source link

Test expectation via public API. #75

Closed null-a closed 4 years ago

null-a commented 4 years ago

This is a minor change that replaces test_expected_response_codegen with a new test that's similar to the recently added test_mu_correctness. I think this is an improvement because it actually exercises fit.fitted(what='expectation'). I think the cases are a little easier to read this way too.

(Related: #15)