sppl icon indicating copy to clipboard operation
sppl copied to clipboard

Probabilistic programming system for fast and exact symbolic inference

Results 24 sppl issues
Sort by recently updated
recently updated
newest added

Currently sppl depends on [hard-coded strict-equality versions](https://github.com/probcomp/sppl/blob/8b0fe0c37ed15dd19936d13e0fa652c3b5237cac/setup.py#L10) of its dependencies. This makes its inclusion to ongoing projects somewhat problematic. We always have the choice of vendoring the code instead of...

The `.name` attribute of a frozen `rv_discrete.dist` object does not correspond to the underlying class, i.e., ```python >>> from scipy.stats import norm >>> d = norm(loc=0, scale=1) >>> d.dist.name 'norm'...

```python >>> from sppl.distributions import rv_discrete >>> from sppl.spe import DiscreteLeaf >>> d1 = rv_discrete(values=((1, 2), (.5, .5))) >>> d2 = rv_discrete(values=((1, 2), (.8, .2))) >>> l1 = Id("X") >>...

Can we bump this version to `>=1.7` in requirements (?) I tried a few different things here -- like installing into a fresh `conda` environment. For whatever reason, this old...

https://github.com/probcomp/sppl/blob/efff34fb3d3703247dd7001c36970069c5ac3825/src/spe.py#L53-L54 Also change `memo is False` to `memo in [False, None]`

https://github.com/probcomp/sppl/blob/efff34fb3d3703247dd7001c36970069c5ac3825/src/spe.py#L931-L963

Tried to install this both on my local machine (a Mac) and on my work device (Windows HVD), got similar errors with this version of numpy breaking the build. It...

It could be useful to have a Python command-line interface for SPPL, i.e., ```bash $ pyhton -m sppl compile # produces model.spe $ python -m sppl logprob $ python -m...

``` with open("data/sppl/merged.json","r") as datafile: #gender test data set data = datafile.read() spn = spn_from_dict(json.loads(data)) psn = spn.children[0] psn2= psn.constrain({'gender' : "female"}) assert psn.prob(Identity('height') > 180) == psn2.prob(Identity('height') > 180)...