Machine Learning, Clustering, Expectation Maximization, Gaussian Mixture Model, Image Clustering.
n_clusters) def _ln_sum_exp( Z): return np.log(np.sum(np.exp(Z))) # data (numpy array) : array of observation points # weights (numpy array) : numpy array of weight of each clusters ofsize (1, n_clusters) # means (numpy array) : numpy array of means of each clusters of size (n_cluster, dimension) #