Re: Dataset training using Kmeans

2020-01-06 Thread Rhodri James
On 05/01/2020 12:56, hanan lamaazi wrote: Dear all, I'm actually using the K-means algorithm for clustering, and scikit-learn machine learning in python. when I want to print my "score_accuarcy" using this command print(metrics.accuracy_score(y_test, y_pred)) I get the following error :

Dataset training using Kmeans

2020-01-05 Thread hanan lamaazi
Dear all, I'm actually using the K-means algorithm for clustering, and scikit-learn machine learning in python. when I want to print my "score_accuarcy" using this command >print(metrics.accuracy_score(y_test, y_pred)) I get the following error : "Classification metrics can't handle a mix o