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 6. Using Scala and Figaro collections to build up models

This chapter covers

  • How to use collections to organize probabilistic models
  • The difference between Scala collections and Figaro collections, the roles of each, and how to use them together
  • Common modeling patterns that can be expressed using collections, including hierarchical Bayesian modeling, modeling situations with an unknown number of objects, and models defined over a continuous region

In the preceding two chapters, you’ve gained a solid foundation in probabilistic modeling. This chapter focuses on the programming aspect of probabilistic programming and shows you ways that the features of a programming language can help you build probabilistic models. In particular, ...

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