arviz-devs/arviz

Write conversion guides

Open

#1,489 建立於 2021年1月8日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)TeX (1,818 star) (495 fork)batch import
DiscussionHelp WantedUser Documentation

描述

Tell us about it

Convert the cookbook into a collection of notebooks (one per PPL) with extended documentation on the respective converter function from_xyz. PPL tracker:

  • PyMC3 (if the examples below are good enough it's only a matter of putting the notebook together)
  • PyStan
  • CmdStanPy
  • Pyro
  • NumPyro
  • emcee (there are extensive examples in the from_emcee api docs that can help write this)
  • TensorFlow Probability

Thoughts on implementation

I think it would be great to define a set of tasks of increasing difficulty and then (if possible) show how to tackle them in each of the PPLs and how to convert the data to InferenceData. The current example in the cookbook is a possible starting point. The examples (click on the QR codes) for my ProbProg poster are a more complete example of InferenceData creation. And my pymc3-arviz blogpost could be used as intermediate examples.

Note: the cookbook would not be deleted, it would keep the numpy array, dict, dataframe... conversions

貢獻者指南