I have two questions regarding Kmeans Clustering using Python if you don't mind.
I have an auto-generated data called Mystery.npy and its shape is (30309, 784). I am trying to apply the KMeans clustering on it but, I am getting the following error: "valueerror: the truth value of an array with more than one element is ambiguous. use a.any() or a.all()".
Do you have any idea how to overcome this error, or how to cluster such data with KMeans method?
The second question, Is there a certain code to know the type of data that I have?
Your assistance is highly appreciated. Thanks,
from How to Cluster Multidimentional and Unkown Data using KMeans (Python)
No comments:
Post a Comment