massOfai

F1 Score

AI/ML Fundamentals

Harmonic mean of precision and recall

What is F1 Score?

Balanced metric combining precision and recall. F1 = 2 * (precision * recall) / (precision + recall). Ranges from 0 to 1.

Real-World Examples

  • Evaluating models with imbalanced classes
  • F1 = 0.85 indicates good balance of precision/recall

When to Use This

When you need balance between precision and recall