F1 score combines precision and recall into one number using their harmonic mean. It's calculated as 2 times precision times recall, divided by precision plus recall.
Why it matters
A plain average can hide a badly unbalanced system. With 100% precision and 10% recall, the simple average is 55%, which sounds decent. F1 comes out around 18%, much closer to the weaker number, which is a fairer picture of a system that misses most of the real cases.
When to use it
F1 is handy when you need one number to compare models quickly and both kinds of mistakes matter about equally. When one is clearly worse, like missing a safety violation, look at precision and recall separately or use F-beta, because F1 alone doesn't show which way the system is failing.
Variants worth knowing
F1 weights precision and recall equally. The more general F-beta score lets you tilt it: F2 puts more weight on recall, and F0.5 puts more weight on precision. For datasets with several categories, macro F1 averages the score across categories equally, while micro F1 pools all the items together, so large categories dominate it.

Build ecommerce customer service that resolves returns, delivery issues, fraud checks and peak demand while protecting loyalty and operational quality

Learn how machine learning in computer vision works, from CNNs and transformers to labeling, evaluation, and the human review that keeps models honest.

A concise guide to SaaS customer support, covering team models, SLAs, KPIs, tooling, 24/7 coverage, and when outsourcing makes sense.

Scale ecommerce support with BUNCH using automation for routine work and real people for difficult tickets, with 24/7 coverage and order ops.

A community without a moderation system is like a dinner party without a host. Most people are there to have fun, but with no one watching, some get carried away.

When it comes to AI model evaluation, enterprise technology leaders are fast discovering that benchmark scores alone are insufficient in predicting real-world reliability.