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 :
"Classification metrics can't handle a mix of continuous-multioutput and
binary targets"
This is probably an exception from metrics.accuracy_score() (you've
shorn off too much context for me to be certain). Googling the text
gives me no shortage of links; you are far more likely than me to
recognise which of them are relevant to your circumstances.
--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list