机器学习的一般流程

 

 

 

 

 

 

 

 

 

 

from sklearn.metrics import classification_report
y_true=[0,1,2,2,2]#真值
y_pred=[0,0,2,2,1]#预测结果
print(classification_report(y_true,y_pred))

 

posted @ 2021-05-03 23:36  Kaiser-  阅读(95)  评论(0编辑  收藏  举报