Dataset training using Kmeans
hanan lamaazi
hanan.lamaazi at gmail.com
Sun Jan 5 07:56:16 EST 2020
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 of continuous-multioutput and
binary targets"
I use Python version 3.7 and Jupyter notebook
Thank you in advance
More information about the Python-list
mailing list