symbolic-pymc
symbolic-pymc copied to clipboard
Tools for the symbolic manipulation of PyMC models, Theano, and TensorFlow graphs.
It might be worth investigating a way to partially specify the `NodeDef.attr` `dict`, especially since complete removal/reassignment causes problems for constants (the Numpy constant value is held in that map)....
It would be great if we could automatically transform backend helper/graph constructor functions into meta equivalents. ## The problem These "helper functions" are the standard Python functions found in the...
There's nearly enough in place to start automating the application of proximal methods. I've outlined some of the basic ideas [here](https://brandonwillard.github.io/a-role-for-symbolic-computation-in-the-general-estimation-of-statistical-models.html) and [here](https://brandonwillard.github.io/more-proximal-estimation.html). To recap, this would involve simple identifications...
After the introduction of TensorFlow backend support (i.e. #4 ), we can implement functions to convert to-and-from PyMC4 models.
Let's make some simple examples showing how `symbolic-pymc` can be used to convert a manually constructed model—or components thereof—into its corresponding PyMC3 distribution class. For example, we could show how...
After TensorFlow graph support is added (i.e. #4), we will need to adapt the existing miniKanren relations to TF[P] objects. This might require a core set of linear/tensor-algebraic graph normalization/canonicalization...
This model is non-centered: https://github.com/pymc-devs/pymc4/blob/7b144fa5be8b3b3f7e5ea9e9f3222988ab60a87f/notebooks/radon_hierarchical.ipynb Would be great to see symbolic-pymc applied on this example to sample it in centered way.
We need a documentation section that illustrates how to debug `kanren` goals and meta object unification (i.e. `kanren.core.dbgo`, and `unification.debug_unify`), as well as how to inspect graphs (i.e. `theano.printing.debugprint` and...
As a convenience, we should provide meta tensor implementations of the following: `__add__`, `__radd__`, `__sub__`, `__rsub__`, `__mul__`, `__rmul__`, `__div__`, `__rdiv__`, `__truediv__`, `__rtruediv__`, `__floordiv__`, `__rfloordiv__`, `__mod__`, `__rmod__`, `__lt__`, `__le__`, `__gt__`, `__ge__`,...
Bumps [black](https://github.com/psf/black) from 20.8b1 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...