F1 Score Calculator

Calculate the harmonic mean of classification precision and recall.

Description

Calculate the harmonic mean of classification precision and recall.

F1 Score Calculator: Calculate the harmonic mean of classification precision and recall.

When to use F1 Score

Use this metric to summarize one aspect of a classifier's confusion matrix after defining the positive class and counting outcomes on an appropriate evaluation set.

True positives
Required integer input.
False positives
Required integer input.
False negatives
Required integer input.

How F1 Score works

Calculate the harmonic mean of classification precision and recall. The tool evaluates the supplied inputs together and returns the named outputs below; it does not infer omitted operating conditions or change the units shown.1

F1 score
The resulting f1 score returned as a number.

Limitations and assumptions

  • A single classification metric can conceal class imbalance, threshold tradeoffs, subgroup errors, calibration, and uncertainty. Results are only comparable when the positive class, averaging rule, dataset, and decision threshold match.
  • Use finite inputs in the displayed units and preserve more precision than the final presentation requires. Independently verify safety-critical, financial, compliance, or production decisions.

Alternative or Complementary approaches

Inspect the complete confusion matrix and report complementary precision, recall, specificity, balanced accuracy, F-score, calibration, and threshold curves as appropriate to the decision cost.

References

  1. F-score — Wikipedia contributors

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies