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.

post/calculate/precision-recall-f1-calculator

Request

  • Base URL: https://utility-matrix.com
  • URL: https://utility-matrix.com/calculate/precision-recall-f1-calculator
  • Auth: none declared

Request body

precisionnumber required

precision used by this deterministic tool.

recallnumber required

recall used by this deterministic tool.

betanumber

beta used by this deterministic tool.

Example request

{
  "precision": 1,
  "recall": 1,
  "beta": 1
}

Response

Successful calculation

interpretationstring required

Human-readable interpretation of the result.

tool_urlstring required

Canonical browser URL for the corresponding calculator.

Changes

No recorded changes to this operation across all 1 revision of this API.