Practical Probabilistic Programming

Book description

Practical Probabilistic Programming introduces the working programmer to probabilistic programming. In it, you'll learn how to use the PP paradigm to model application domains and then express those probabilistic models in code. Although PP can seem abstract, in this book you'll immediately work on practical examples, like using the Figaro language to build a spam filter and applying Bayesian and Markov networks, to diagnose computer system data problems and recover digital images.



About the Technology

The data you accumulate about your customers, products, and website users can help you not only to interpret your past, it can also help you predict your future! Probabilistic programming uses code to draw probabilistic inferences from data. By applying specialized algorithms, your programs assign degrees of probability to conclusions. This means you can forecast future events like sales trends, computer system failures, experimental outcomes, and many other critical concerns.



About the Book

Practical Probabilistic Programming introduces the working programmer to probabilistic programming. In this book, you'll immediately work on practical examples like building a spam filter, diagnosing computer system data problems, and recovering digital images. You'll discover probabilistic inference, where algorithms help make extended predictions about issues like social media usage. Along the way, you'll learn to use functional-style programming for text analysis, object-oriented models to predict social phenomena like the spread of tweets, and open universe models to gauge real-life social media usage. The book also has chapters on how probabilistic models can help in decision making and modeling of dynamic systems.



What's Inside
  • Introduction to probabilistic modeling
  • Writing probabilistic programs in Figaro
  • Building Bayesian networks
  • Predicting product lifecycles
  • Decision-making algorithms


About the Reader

This book assumes no prior exposure to probabilistic programming. Knowledge of Scala is helpful.



About the Author

Avi Pfeffer is the principal developer of the Figaro language for probabilistic programming.



Quotes
An important step in moving probabilistic programming from research laboratories out into the real world.
- From the Foreword by Stuart Russell, UC Berkeley

Clear examples and down-to-earth explanations of a difficult and complex topic.
- Mark Elston, Advantest America

Coherent, practical, and accessible. A fantastic hands-on book on probabilistic programming with Scala.
- Kostas Passadis, IPTO

Probabilistic programming is complex! Avi makes the subject straightforward and intuitive to learn.
- Earl Bingham, Eyelock

Product information

  • Title: Practical Probabilistic Programming
  • Author(s): Avi Pfeffer
  • Release date: March 2016
  • Publisher(s): Manning Publications
  • ISBN: 9781617292330