Chapter 3. Creating a probabilistic programming application

This chapter covers

  • Using a common architecture for probabilistic programming applications
  • Designing a realistic model using only simple language features
  • Learning models from data and using the results to reason about future instances

You’ve now had a whirlwind introduction to many of the features of Figaro. What can you do with it? How do you build useful software with it? This chapter gives you a glimpse of how to use Figaro to build a realistic application.

In this chapter, you’ll see a complete design of a spam filter based on probabilistic programming, including the design of a model, a component to reason about incoming emails and classify them as normal or spam, and a ...

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.