Chapter 2. A quick Figaro tutorial

This chapter covers

  • Creating models, asserting evidence, running inference, and answering queries
  • Understanding the basic building blocks of models
  • Building complex models out of these building blocks

Now that you’ve seen what probabilistic programming is all about, you’re ready to get up to speed in Figaro so that you can write your own simple programs and answer queries with them. My goal in this chapter is to introduce you to the most important concepts in Figaro as quickly as possible. Future chapters provide detailed explanations of what the models mean and how they should be understood. So let’s go.

2.1. Introducing Figaro

To start, let’s take a high-level look at Figaro. Figaro, introduced in ...

Get Practical Probabilistic Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.