Machine Learning, Clustering, Python, Gaussian Mixture Model, Unsupervised Learning.
Gaussian mixture clustering gmm = GaussianMixture(n_components=3, random_state=0).fit(X) gmm_labels = gmm.predict(X) # Plot the clustering results fig, axs = plt.subplots(1, 2, figsize=(10, 5)) axs[0].scatter(X[:, 0], X[:, 1], c=kmeans_labels) axs[0].set_title('K-means clustering')