Confusion Matrix Calculator
Enter confusion matrix values to calculate accuracy, precision, recall, F1.
AI & ML ToolsRuns in your browser · nothing is sentNo account · No API key
Try it
Result
Call it from an agent
The same endpoint powers the form above. Send JSON, get JSON — no key, no signup.
curl -sX POST 'https://itsfully.online/backend/connector-api.php?action=execute' \
-H 'Content-Type: application/json' \
-d '{"tool":"confusion-matrix-calculator","data":{ /* see input fields above */ }}'
Agent usage
This tool runs entirely in your browser runtime. No API key, no server round-trip. Fetch the manifest, import the module, call the function.
// 1. Fetch the manifest
const manifest = await fetch('https://itsfully.online/api/manifest.json').then(r => r.json());
// 2. Find this tool
const tool = manifest.categories
.flatMap(c => c.tools)
.find(t => t.apiName === 'confusion-matrix-calculator');
// 3. Import and execute
const mod = await import('https://itsfully.online' + tool.clientModule);
const result = await mod['FrontendTools.execute']({ /* input */ });
Input schema
Parameters accepted by this tool:
[
{
"type": "number",
"name": "tp",
"label": "True Positives (TP)",
"min": 0,
"default": 0
},
{
"type": "number",
"name": "tn",
"label": "True Negatives (TN)",
"min": 0,
"default": 0
},
{
"type": "number",
"name": "fp",
"label": "False Positives (FP)",
"min": 0,
"default": 0
},
{
"type": "number",
"name": "fn",
"label": "False Negatives (FN)",
"min": 0,
"default": 0
}
]
Module path
/common/frontend-tools.js
Dynamic import this path from your agent runtime. No npm install, no bundler required.