Oli*_*s_j 2 python scipy scikit-learn
我想知道是否有可能在使用sklearn(scikit)的classification_report逗号之后获得更多数字.
它看起来像这样:
Run Code Online (Sandbox Code Playgroud)precision recall f1-score support 1 0.61 0.73 0.67 71194 2 0.64 0.33 0.43 13877 3 0.56 0.59 0.57 61591 4 0.64 0.51 0.57 13187 5 0.66 0.69 0.67 57530 6 0.54 0.06 0.11 2391 7 0.54 0.40 0.46 30223
平均/总计0.60 0.60 0.60 249993
我认为这种方法不可能,但也许有人有同样的想法(可能).
我知道sklearn.metrics.precision_score
存在,虽然classification_report是一次显示所有结果的好方法.