I have used Rapidminer k-means algorithm to cluster binary dataset. Following matrix is based on web page access('1' for access and '0' for not access). First column is a label to identify each user.
I want to get an output in the following format which I already got from rapid-miner.
0 - cluster_1
1 - cluster_0
2 - cluster_1
3 - cluster_3
.. - ....
Now I need to do the same process in Python? Is it possible to implement rapidminer k-means in Python