← Market

Predictive Analytics · Classification Metrics

Compute ROC-AUC, average precision, Brier score, confusion at a threshold, Youden-optimal threshold and equal-width calibration bins from binary labels and scores. Docs: https://www.brainiac.software/api/predictive-analytics/classification-metrics

POST https://www.brainiac.software/api/v1/predictive-analytics/classification-metrics

0.02 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.02 USDC · payTo 0x6428665E83F503904571104311bB78CBb29b975c · via cdp · settles direct
{
  "calibrationBins": 5,
  "labels": [
    0,
    0,
    1,
    1,
    0,
    1,
    0,
    1,
    1,
    0
  ],
  "scores": [
    0.1,
    0.4,
    0.35,
    0.8,
    0.2,
    0.9,
    0.6,
    0.7,
    0.55,
    0.3
  ],
  "threshold": 0.5
}
{
  "brier": 0.1425,
  "calibration": [
    {
      "bin": [
        0,
        0.2
      ],
      "fraction": 0,
      "meanScore": 0.1,
      "n": 1
    },
    {
      "bin": [
        0.2,
        0.4
      ],
      "fraction": 0.333333333333,
      "meanScore": 0.283333333333,
      "n": 3
    }
  ],
  "confusion": {
    "f1": 0.8,
    "fn": 1,
    "fp": 1,
    "precision": 0.8,
    "recall": 0.8,
    "threshold": 0.5,
    "tn": 4,
    "tp": 4
  },
  "limitations": [
    "ROC-AUC is the Mann-Whitney statistic; PR-AUC is average precision; Youden maximises TPR − FPR over unique scores.",
    "Outputs are statistical calculations on caller-supplied inputs for human review. They are not legal, medical, credit, t"
  ],
  "prAuc": 0.902857142857,
  "rocAuc": 0.88,
  "sources": [
    {
      "retrievedAt": "2026-11-14",
      "source": "Caller-supplied tabular data processed locally",
      "status": "ok",
      "url": "https://www.brainiac.software/api/v1/predictive-analytics"
    }
  ],
  "youdenJ": 0.6,
  "youdenThreshold": 0.55
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://www.brainiac.software/api/v1/predictive-analytics/classification-metrics · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "labels": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "labels supplied by the caller for this operation.",
      "example": [
        0,
        0,
        1,
        1,
        0,
        1,
        0,
        1,
        1,
        0
      ]
    },
    "scores": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "scores supplied by the caller for this operation.",
      "example": [
        0.1,
        0.4,
        0.35,
        0.8,
        0.2,
        0.9,
        0.6,
        0.7,
        0.55,
        0.3
      ]
    },
    "threshold": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "threshold supplied by the caller for this operation.",
      "example": 0.5
    },
    "calibrationBins": {
      "type": "integer",
      "minimum": 2,
      "maximum": 100,
      "description": "calibration Bins supplied by the caller for this operation.",
      "example": 5
    }
  },
  "required": [
    "labels",
    "scores"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://www.brainiac.software/api/v1/predictive-analytics/classification-metrics' \
  -H 'content-type: application/json' -d '{"labels":[0,0,1,1,0,1,0,1,1,0],"scores":[0.1,0.4,0.35,0.8,0.2,0.9,0.6,0.7,0.55,0.3],"threshold":0.5,"calibrationBins":5}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)