I am using sklearn.metrics.classification_report
and I would like to isolate the support
values to work with them separately, but I do not know how to extract them. I made the call with print(classification_report(y_true, y_pred, target_names=target_names)).
Logistic regression using RBM features:
precision recall f1-score support
0 0.99 0.99 0.99 174
1 0.92 0.95 0.93 184
2 0.95 0.98 0.97 166
3 0.97 0.91 0.94 194
4 0.97 0.95 0.96 186
5 0.93 0.93 0.93 181
6 0.98 0.97 0.97 207
7 0.95 1.00 0.97 154
8 0.90 0.88 0.89 182
9 0.91 0.93 0.92 169
avg / total 0.95 0.95 0.95 1797
Can someone help me?