O'Reilly logo

Practical Probabilistic Programming by Avi Pfeffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required