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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.