Unsupervised Learning, Clustering, K Means, Lda, Topic Modeling.
matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np %matplotlib inline from sklearn import datasets #Iris Dataset iris = datasets.load_iris() X = iris.data #KMeans km = KMeans(n_clusters=3) km.fit(X) km.predict(X) labels = km.labels_ #Plotting fig = plt.figure(1,