classification report in machine learning sklearn

后端 未结 0 798
一个人的身影
一个人的身影 2021-01-25 13:15
from sklearn.metrics import classification_report
y_true = [0, 1, 2, 2, 2]
y_pred = [0, 0, 2, 2, 1]
target_names = [\'class 0\', \'class 1\', \'class 2\']
print(classifi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题