scikit-learn-contrib / scikit-learn-extra

scikit-learn contrib estimators
https://scikit-learn-extra.readthedocs.io
BSD 3-Clause "New" or "Revised" License
187 stars 42 forks source link

Bug in example page #128

Closed iisri-vu closed 3 years ago

iisri-vu commented 3 years ago

https://scikit-learn-extra.readthedocs.io/en/stable/auto_examples/plot_kmedoids.html#sphx-glr-download-auto-examples-plot-kmedoids-py

Running the demo will get an error at line 43 xy = X[class_member_mask]

TypeError: only integer scalar arrays can be converted to a scalar index

Ignore the above. The error seems like from Clara labels result.