1 分类准确度及衡量指标 1.scikit-learn中的混淆矩阵,精准率,召回率 from sklearn.metrics import confusion_matrix confusion_matrix(y_test,y_log_predict) from sklearn.metrics import precision_score precision_score(y_test,y_log_predict) from sklearn.metrics import recall_score recall_score(y_test,y_log_predict) 2. F1 S