-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove MultiObservedRV in v4 #4534
Comments
This is somewhat related to the DensityDist, no? We should also decide what to do with that. |
If you had a def logp(value, mu, sigma):
return -0.5*np.log(2 * np.pi) - at.log(sigma) - 0.5*((value - mu)/sigma)**2 In v3 you had to do this to be able to pass parameter values to with pm.Model():
mu = pm.Normal("mu")
sigma = pm.HalfNormal("sigma")
pm.DensityDist("dist", logp, observed={"value": np.ones(10), "mu": mu, "sigma": sigma}) In #5026, we completely changed the API of with pm.Model():
mu = pm.Normal("mu")
sigma = pm.HalfNormal("sigma")
pm.DensityDist("dist", mu, sigma, logp=logp, observed=np.ones(10)) The new If #5026 is approved and merged, we should just completely remove |
This Class seems to not be present anymore in the codebase, so the only thing left is to remove old tests: pymc/pymc/tests/test_idata_conversion.py Lines 391 to 446 in 600fe90
|
MultiObservedRV
support hasn't been implemented inv4
(because I couldn't really tell what it was). @OriolAbril explained it to me here, and it sounds like something we should remove entirely.I'm opening this issue so that someone can inform us of any important functionalities that
MultiObservedRV
exclusively provides, so that we can implement those in some other way before removing the oldMultiObservedRV
-related code.The text was updated successfully, but these errors were encountered: