Giter Site home page Giter Site logo

probmods / dippl Goto Github PK

View Code? Open in Web Editor NEW
173.0 27.0 32.0 13.89 MB

The Design and Implementation of Probabilistic Programming Languages

Home Page: http://dippl.org/

HTML 8.70% CSS 45.00% JavaScript 46.30%
probabilistic-programming webppl tutorial

dippl's People

Contributors

aflaxman avatar buggi22 avatar erindb avatar hawkrobe avatar iffsid avatar jdowner avatar longouyang avatar ngoodman avatar null-a avatar qhfgva avatar stuhlmueller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dippl's Issues

update-webppl script broken

Running the script results in:

Resetting webppl to latest remote...
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'

The addressing transform

I was reading about the automatic addressing transform based on stack-addresses. It seams to make sense in most cases but I was wondering how general this scheme is. It seems to work when you recurse or iterate over a list and you are always going over the same modeled individuals in the same order. But imagine you were modelling a bus full of tourists, trying to predict some attributes of each tourist such as hunger level after each stop (to determine when to stop to eat).

Say the tourists like to trade seats and you decided to first predict the order of seating after each stop and then recurse over the bus seats to predict other attributes. When trying to reuse sample from the previous trace, wouldn't it make more sense for the sample to be tied to named individual tourists instead of to seats in the bus even if the stack address name scheme correspond to seat order not tourists order?

It might just be a matter of being careful when writing generative models to not recurse over different order of individual things. Otherwise allowing some kind of manual naming could also be an option.

Or am I interpreting this wrong?

Make introduction of factor notation more intuitive

In webppl issue #18, Tomer wrote:

I'm not sure what level of readership you're aiming at, but taking probmods.org as a benchmark, it feels like towards the end of Chapter 2 you're assuming a great deal of background knowledge for a casual reader.

In particular, while the introduction of inference through the binomial function feels 'standard' and normal, this paragraph suddenly shows up after it:

"What if we wanted to adjust the above binomial computation to favor executions in which a or b was true? The factor keyword re-weights an execution by adding the given number to the log-probability of that execution. For instance:"

What 'given number' are we adding here? How much does a change of -2 correspond to? Why would we want to make that specific inference or assumption? In Church/probmods when inference was introduction the conditioning was on a pretty simple notion that 'the sum of the heads is 2 or greater'.

Performance of setTimeout

We currently use setTimeout to clear the stack... this may be bad wrt performance. Should clear stack less often or switch to a trampoline to avoid stack bloat.

Clean up examples folder

Remove examples that are not part of the book. Migrate to webppl repository, forest, or specific research repositories as appropriate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.