x402-f1-score
F1 Score: Calculate the F1 score (harmonic mean of precision and recall) from actual and predicted labels. Provide yTrue and yPred arrays. 🆓 5 free trial calls per signed wallet
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"yPred": "<yPred>",
"yTrue": "<yTrue>"
},
"name": "x402-f1-score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yPred | Yes | ||
| yTrue | Yes | ||
| actual | No | ||
| predicted | No |