How to get precision, recall and f-measure from confusion matrix in Python

I’m using Python and have some confusion matrixes. I’d like to calculate precisions and recalls and f-measure by confusion matrixes in multiclass classification. My result logs don’t contain y_true and y_pred, just contain confusion matrix. Could you tell me how to get these scores from confusion matrix in multiclass classification? Answers: Thank you for visiting … Read more