-
-
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 Plots & Diagnostics from PyMC Code Base #4371
Comments
Must come from all that listening to Baba Brinkman ;) |
+1 lol ^^^ Hey there @AlexAndorra, is this an Issue I can participate in? Also, when do you think the ETA/Due Date for the coming 4.0 major release would be? |
Of course @CloudChaoszero ! I just assigned it to you. Feel free to ask questions 😉
We usually don't give hard deadlines but are all commited and working to make that happen as soon as possible 🙂 |
Great! I'll reach out if I have questions etc @AlexAndorra. |
@AlexAndorra Hey there! I was looking looking at the codebase, particularly Pymc's plots/init.py, and I saw functions like These workarounds tries to relabel I was wondering should the |
Yes, you can just remove all this @CloudChaoszero, as the idea is to completely delegate to ArviZ. |
Sounds great, thanks! |
* Related to issue pymc-devs/pymc#4371
@AlexAndorra Quick Question: Should customer function
|
Ugh, that's a good question -- we discussed it recently with @MarcoGorelli and decided to keep it around IIRC. But the 4.0 release is a good opportunity to remove it and completely switch to ArviZ.
|
I don't know how How does that sound? It may not match the 3-4 timeline though |
|
Agreed @OriolAbril, let's do that then -- if this function proves hard to maintain because of v4 changes though, we'll probably remove it before ArviZ has regression functionalities.
Good catch @MarcoGorelli ! I think these are indeed no posterior predictive samples but rather predictive pushforward samples. As the function is meant to disapear soon though (see my answer above), let's not change the name, as that would be a breaking change for just a few months |
Sounds good, I'll update the PR accordingly! |
* Related to issue pymc-devs/pymc#4371 🎨 Replace Pymc3 plots w/arviz plots and sigma param change 🎨 Update plots to arviz dependency instead of pymc3 dependency 🎨 Update plots to arviz dependency instead of pymc3 dependency 🎉 Finish residual replacement for Pymc3 plots to arviz & sigma param change
* Related to issue pymc-devs/pymc#4371 🎨 Replace Pymc3 plots w/arviz plots and sigma param change 🎨 Update plots to arviz dependency instead of pymc3 dependency 🎨 Update plots to arviz dependency instead of pymc3 dependency 🎉 Finish residual replacement for Pymc3 plots to arviz & sigma param change
* 🎉 Start removing Diagnostics & Plots in PyMC3 development 🔥 Remove arviz plots * Remove directly imported arviz plots used in pymc3 plots 🔥 Remove all plots from PyMC3 Plots module 🔥 Remove PyMC3 plots references in Docs 🎨 Mention Plotting & Diagnostics in API page and remove plots reference in __init__.py ⏪ Revert posterior_plot function, test, and docs 🎨 Add deprecation warning to posterior_plot function 🎨 Add context on plot import and import back into __init__.py ✏️ Add warning and details of posterior_plot added Update docs/source/api/plots.rst Co-authored-by: Alexandre ANDORRA <andorra.alexandre@gmail.com> Update docs/source/api/plots.rst Co-authored-by: Alexandre ANDORRA <andorra.alexandre@gmail.com> Update pymc3/plots/__init__.py Co-authored-by: Alexandre ANDORRA <andorra.alexandre@gmail.com> Update pymc3/plots/__init__.py Co-authored-by: Alexandre ANDORRA <andorra.alexandre@gmail.com> ✏️ Update docs to add stats.rst details ✏️ Minor docs notation for posterioplot function(s) 📝 Add breakline before docstring title * ✏️ small typo and remove summary in plots.rst
Plots and diagnostics are still accessible via PyMC3 but are actually implemented by ArviZ now. Although this was a good call when ArviZ was still nascent, now this causes confusion for new comers and overhead for devs, who have to mirror the functions in ArviZ, which is more work when ArviZ adds or changes functions (e.g
pm.hpd
vs.az.hdi
).To make all this more robust and easier to maintain, we should completely remove plots and diagnostics from the PyMC code base and rely on ArviZ, since the latter library is now much more known and flies on its own (yeah, I'm a part-time poet).
The coming 4.0 major release is an opportunity to make this breaking change -- plus, it'll make the code base cleaner and leaner 👌 Feel free to comment if you wanna take on this issue 🖖
The text was updated successfully, but these errors were encountered: