 
 formatConfusionMatrix = (cm) ->
   [[tn, fp], [fn, tp]] = cm.matrix
-  tpr = tp / (tp + fn)
+  fnr = fn / (tp + fn)
   fpr = fp / (fp + tn)
   domain = cm.domain
 

  table [ 
    tbody [
      tr [
        strong ''
        strong domain[0]
        strong domain[1]
        strong 'Error'

        strong domain[1]
        normal fn
        yellow tp
        normal format4f fnr
        normal fn + ' / ' + (tp + fn)
      ]
      tr [
        strong 'Total'
        strong tn + fn
        strong tp + fp
        strong format4f (fn + fp) / (fp + tn + tp + fn)
        strong (fn + fp) + ' / ' + (fp + tn + tp + fn)
      ]
    ]
  ]
