Skip to content

tobiasgerstenberg/webppl_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This repository contains materials for the tutorial on WebPPL -- a probabilistic programming language embedded in Javascript (see webppl.org for more information)

A web book on Probabilistic Models of Cognition written by Noah D. Goodman and Joshua B. Tenenbaum is available here probmods.org

Another great online resource is agentmodels.org which illustrates how WebPPL can be used to model decision-making, planning, inference, etc.

Please contact Tobias Gerstenberg (gerstenberg@stanford.edu) or Kevin Smith (k2smith@mit.edu) in case you have any questions.

Slides

  • Presentation slides in .key and .pdf format

Notes

1_webppl_basics

  • declaring variables; basic operations; if-then statements; writing functions

2_building_generative_models

  • building simple models; random primitives; recursion; memoization

3_doing_inference

  • conditioning on variables; conditioning on arbitrary expression; rejection query, enumeration query and other kinds of inference

Additional recources

About

Materials for webppl tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •