Precision, Recall and F1 Calculator
precision-recall-f1-calculatorRead-onlyIdempotent
Use this when a user asks about their ML model precision, recall, F1 score, or F-beta score. Takes precision and recall as fractions from 0 to 1 and an optional beta weight. Returns F1, F-beta, and interpretation of the precision-recall tradeoff.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beta | No | beta used by this deterministic tool. | |
| recall | Yes | recall used by this deterministic tool. | |
| precision | Yes | precision used by this deterministic tool. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beta | Yes | ||
| f1_score | Yes | ||
| next_step | Yes | ||
| f_beta_score | Yes | ||
| next_step_url | Yes | ||
| why_follow_up | Yes | ||
| interpretation | Yes | ||
| affiliate_context | No | ||
| computation_basis | Yes | ||
| precision_recall_gap | Yes | ||
| precision_recall_balance | Yes |