Use f1_score instead of the classification report: from sklearn.metrics import f1_score ... print('f1_score', f1_score(xgb_results, ...
確定! 回上一頁