Skip to content Skip to sidebar Skip to footer

How To Visualize Kmeans Clustering On Multidimensional Data

I am using kmeans clustering algorithm on mnist dataset and want to visualize the plots after clustering. So far I did this from mnist import MNIST mndata = MNIST('Datasets') X_tr

Solution 1:

You can visualise multi-dimensional clustering using pandas plotting tool parallel_coordinates.

predict = k_means.predict(data)
data['cluster'] = predict
pandas.tools.plotting.parallel_coordinates(data, 'cluster')

Post a Comment for "How To Visualize Kmeans Clustering On Multidimensional Data"