# F1 calculation test

The formula for F1 harmonic mean F1 score is

$$F1 =2*\frac{precision*recall}{precision + recall}$$

The values under the column F1 don't agree with the formula. Any answers

• Please provide your calculation. It seems everything is fine Jun 22, 2018 at 6:39
• Lets take the example of Logistic regression F1=2*(0.831*0.811)/(0.831+0.811)=0.8208. The value given under F1 is 0.788 Jun 22, 2018 at 7:45
• I had posted this question as a bug. It was address. The calculations are okay. The values that we see are the average of F1 for Y and N responses. Jun 27, 2018 at 13:51
• The same issue (reported scores is average of the class statistics) here: datascience.stackexchange.com/q/60850/55122 Oct 4, 2019 at 21:06