Created
April 6, 2018 23:21
-
-
Save smihael/43669d78bbb445fac8421ddf8239b9b5 to your computer and use it in GitHub Desktop.
Test file for atom-webppl-preview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
viz(repeat(100,flip)) | |
// viz(repeat(10,flip)) | |
display("a") | |
// display("b") | |
var binomial = function() { | |
var a = flip(); | |
var b = flip(); | |
var c = flip(); | |
return a + b + c; | |
}; | |
viz(Infer({model: binomial})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment