notes

Personal notes
git clone git://git.laack.co/notes.git
Log | Files | Refs

HarmonicMean.md (559B)


      1 # Harmonic Mean
      2 
      3 ML D2
      4 
      5 **Definition:** The harmonic mean is a metric used to describe the accuracy of a model. This value is representative of the precision and recall of a model.
      6 
      7 Basically, this is a combination of [Precision](Precision.md) and recall
      8 
      9 The harmonic mean favors models with similarly good values for both recall and precision which can be good in certain cases. There are however many cases where precision, recall, or accuracy may be more important.
     10 
     11 Formula:
     12 
     13 F_1 = 2 * (p * r) / (p+r)
     14 
     15 Where p = [Precision](Precision.md) and r = recall