Building Probabilistic Graphical Models with Python

Solve machine learning problems using probabilistic graphical models implemented in Python, with real-world applications

Building Probabilistic Graphical Models with Python

Kiran R Karkera

1 customer reviews
Solve machine learning problems using probabilistic graphical models implemented in Python, with real-world applications
Mapt Subscription
FREE
$29.99/m after trial
eBook
$11.90
RRP $16.99
Save 29%
Print + eBook
$27.99
RRP $27.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$11.90
$27.99
$29.99p/m after trial
RRP $16.99
RRP $27.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783289004
Paperback172 pages

Book Description

With the increasing prominence in machine learning and data science applications, probabilistic graphical models are a new tool that machine learning users can use to discover and analyze structures in complex problems. The variety of tools and algorithms under the PGM framework extend to many domains such as natural language processing, speech processing, image processing, and disease diagnosis.

You've probably heard of graphical models before, and you're keen to try out new landscapes in the machine learning area. This book gives you enough background information to get started on graphical models, while keeping the math to a minimum.

Table of Contents

Chapter 1: Probability
The theory of probability
Goals of probabilistic inference
Conditional probability
The chain rule
The Bayes rule
Interpretations of probability
Random variables
Marginal distribution
Joint distribution
Independence
Conditional independence
Types of queries
Summary
Chapter 2: Directed Graphical Models
Graph terminology
Independence and independent parameters
The Bayes network
Reasoning patterns
D-separation
Factorization and I-maps
The Naive Bayes model
Summary
Chapter 3: Undirected Graphical Models
Pairwise Markov networks
The Gibbs distribution
An induced Markov network
Factorization
Flow of influence
Active trail and separation
Structured prediction
The factorization-independence tango
Summary
Chapter 4: Structure Learning
The structure learning landscape
Constraint-based structure learning
Score-based learning
Summary
Chapter 5: Parameter Learning
The likelihood function
Parameter learning example using MLE
MLE for Bayesian networks
Bayesian parameter learning example using MLE
Data fragmentation
Effects of data fragmentation on parameter estimation
Bayesian parameter estimation
Bayesian estimation for the Bayesian network
Example of Bayesian estimation
Summary
Chapter 6: Exact Inference Using Graphical Models
Complexity of inference
Using the Variable Elimination algorithm
The tree algorithm
Summary
Chapter 7: Approximate Inference Methods
The optimization perspective
Steps in the LBP algorithm
Sampling-based methods
Summary

What You Will Learn

  • Create Bayesian networks and make inferences
  • Learn the structure of causal Bayesian networks from data
  • Gain an insight on algorithms that run inference
  • Explore parameter estimation in Bayes nets with PyMC sampling
  • Understand the complexity of running inference algorithms in Bayes networks
  • Discover why graphical models can trump powerful classifiers in certain problems

Authors

Table of Contents

Chapter 1: Probability
The theory of probability
Goals of probabilistic inference
Conditional probability
The chain rule
The Bayes rule
Interpretations of probability
Random variables
Marginal distribution
Joint distribution
Independence
Conditional independence
Types of queries
Summary
Chapter 2: Directed Graphical Models
Graph terminology
Independence and independent parameters
The Bayes network
Reasoning patterns
D-separation
Factorization and I-maps
The Naive Bayes model
Summary
Chapter 3: Undirected Graphical Models
Pairwise Markov networks
The Gibbs distribution
An induced Markov network
Factorization
Flow of influence
Active trail and separation
Structured prediction
The factorization-independence tango
Summary
Chapter 4: Structure Learning
The structure learning landscape
Constraint-based structure learning
Score-based learning
Summary
Chapter 5: Parameter Learning
The likelihood function
Parameter learning example using MLE
MLE for Bayesian networks
Bayesian parameter learning example using MLE
Data fragmentation
Effects of data fragmentation on parameter estimation
Bayesian parameter estimation
Bayesian estimation for the Bayesian network
Example of Bayesian estimation
Summary
Chapter 6: Exact Inference Using Graphical Models
Complexity of inference
Using the Variable Elimination algorithm
The tree algorithm
Summary
Chapter 7: Approximate Inference Methods
The optimization perspective
Steps in the LBP algorithm
Sampling-based methods
Summary

Book Details

ISBN 139781783289004
Paperback172 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Building Machine Learning Systems with Python Book Cover
Building Machine Learning Systems with Python
$ 29.99
$ 6.00
Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Practical Data Science Cookbook Book Cover
Practical Data Science Cookbook
$ 29.99
$ 21.00
Practical Data Analysis Book Cover
Practical Data Analysis
$ 29.99
$ 21.00
Python Data Analysis Book Cover
Python Data Analysis
$ 29.99
$ 21.00
IPython Interactive Computing and Visualization Cookbook Book Cover
IPython Interactive Computing and Visualization Cookbook
$ 29.99
$ 21.00