@@ -0,0 +1,321 @@
+import numpy as np%0Afrom sklearn import datasets%0A%0Afrom kmodes.kprototypes import KPrototypes%0A%0Airis = datasets.load_iris()%0A%0Adata = np.c_%5Biris%5B'data'%5D, iris%5B'target'%5D%5D%0A%0Akp = KPrototypes(n_clusters=3, init='Huang', n_init=1, verbose=True)%0Akp.fit_predict(data, categorical=%5B4%5D)%0A%0Aprint(kp.cluster_centroids_)%0Aprint(kp.labels_)%0A

add iris data set example