Skip to content
Advertisement

Tag: precision-recall

Mismatch of manual computation of a evaluation metrics with Sklearn functions

I wanted to compare the manual computations of the precision and recall with scikit-learn functions. However, recall_score() and precision_score() of scikit-learn functions gave me different results. Not sure why! Could you please give me some advice why I am getting different results? Thanks! My confusion matrix: Answer It should be (check return value’s ordering): Please refer: here

Advertisement