-
Implement using global store.
This came up in the lab meeting (May 20th) on documentation.
-
-
This came up during summer school planning. I'm not sure exactly what can be done, but I think the idea is to make use of the extra information we'll get from probmods/webppl#292 and probmods/webppl#3…
-
If you first run the first example, which is intentionally errorful:
``` js
var gaussianModel = function() {
return gaussian(0, 1)
};
Infer({method: 'enumerate'}, gaussianModel);
```
and then ru…
-
In several error scenarios, WebPPL both throws an `Error` object and prints something to the console via `console.log` or `console.error`. For example, when `Enumerate` encounters a distribution with …
-
This came up in the lab meeting (May 20th) on documentation.
-
If you run this code in a code box
``` javascript
var fitGaussian = function() {
var mu = scalarParam(0, 1);
var sigma = Math.exp(scalarParam(0, 1));
factor(NaN);
};
Optimize(fitGaussian, {ste…
-
Simple syntax errors tend to throw inscrutable errors that make debugging hard. Example below. (I'm not positive, but I think this got worse with the new error handling.) Is there any way to get more …
-
Adapt Javascript kernel: https://www.npmjs.com/package/ijavascript
-
I'm looking at the following model using both `dev` and `daipp`:
``` js
sample(Discrete({ps: [.6, .4]}))
```
It works in dev:
```
$ webppl --version
dev v0.7.0-f24238e /Users/stuhlmueller/Projects/…