Unsupervised Machine Learning in Python: How to Find Distinct Patterns in Your Data Without Being at the Mercy of Data Labeling by Third-Party Workers by Bob Story

Unsupervised Machine Learning in Python: How to Find Distinct Patterns in Your Data Without Being at the Mercy of Data Labeling by Third-Party Workers by Bob Story

Author:Bob Story
Language: eng
Format: azw3, epub
Published: 2017-07-20T07:00:00+00:00


r(k,n) = pi(k)N(x(n), mu(k), C(k)) / sum[j=1..K]{pi(j)N(x(n), mu(j), C(j)) }

When working with the C(k), this is going to mean the covariance of the kth Gaussian. The N9x, mu, C) means the probability density function) of your Gaussian of the data point x and the mean mu and covariance C.

Once you have done this part, it is time to move on to step number two. This step is to go through and recalculate all of the parameters of your Gaussians. This means the pi’s, covariances, and the means. The method for going through and doing this is going to be pretty similar to what we did with the k-means, where we are going to weigh the influence of each sample on the parameter by using the responsibility. If the responsibility of the sample is small, this means that the “x” is going to matter less in the total of the calculation. Let’s look at how we would go through and do this.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.