Skip to Main Content
Hands-On Unsupervised Learning with Python
book

Hands-On Unsupervised Learning with Python

by Giuseppe Bonaccorso
February 2019
Intermediate to advanced content levelIntermediate to advanced
386 pages
9h 54m
English
Packt Publishing
Content preview from Hands-On Unsupervised Learning with Python

EM algorithm for Gaussian mixtures

The complete algorithm (which is fully described in Mastering Machine Learning Algorithms, by Bonaccorso G., Packt Publishing, 2018) is a little more complex than k-means, and it requires deeper mathematical knowledge. As the scope of this book is more practical, we are only discussing the main steps, without providing formal evidence.

Let's start by considering a dataset, X, containing n samples:

Given k distributions, we need to find the weights, wj, and the parameters of each Gaussian j, Σj), with the following condition:

This last condition is necessary to maintain consistency with the laws of probability. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Unsupervised Learning Using Python

Hands-On Unsupervised Learning Using Python

Ankur A. Patel
Introduction to Machine Learning with Python

Introduction to Machine Learning with Python

Andreas C. Müller, Sarah Guido

Publisher Resources

ISBN: 9781789348279Supplemental Content