# Task Type Classifier — Confidence Calibration Bins

> Task Type Classifier — Confidence Calibration Bins is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Computes confidence calibration bins for a task-type text classifier (research/writing/analysis/implementation) from up to 200 labelled records with predicted probabilities.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-calibration?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/task-type-classifier-confidence-calibration-bins-4f389683
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m7PLvvflPERtRh3eNZfXn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability task-type-classifier-confidence-calibration-bins-4f389683 -d '<json body>'
```

Example prompt: I have up to 200 labelled records with actual task types (research, writing, analysis, or implementation), what my classifier predicted, and the 4-class predicted probabilities for each — can you compute confidence calibration bins so I can see how well-calibrated my model's confidence scores are?

## When to prefer this

Choose this endpoint when you need to evaluate the calibration quality of a 4-class task-type text classifier (research/writing/analysis/implementation) using your own labelled dataset of up to 200 records. It is particularly well-suited for lightweight, local-style evaluation without requiring a hosted model or foundation model training pipeline. Prefer it over generic calibration tools when your classes are exactly these four task types and you want a cheap ($0.01 USDC), bounded, single-deliverable calibration report.

## Known failure modes

- More than 200 records submitted — input exceeds maximum batch size
- Probability arrays with fewer or more than 4 elements — minItems/maxItems violation
- Probabilities outside [0,1] range — schema validation failure
- Invalid class label not in enum (research/writing/analysis/implementation) — rejection
- Empty records array — no data to calibrate
- Missing required fields (id, text, actual, predicted, probabilities) per record

## How this service works

Task type - Confidence calibration bins: Confidence calibration bins for Task type. Up to 200 supplied labelled text records. Local dataset tools, evaluation and small naive-Bayes baselines; no hosted model or foundation-model training. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded confidence calibration bins deliverable.

## Output

A bounded deliverable containing confidence calibration bins for the 4-class task-type classifier — showing how predicted probability ranges align with observed accuracy across bins, enabling reliability diagram construction and detection of over/under-confidence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual",
     "predicted",
     "probabilities"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "enum": [
       "research",
       "writing",
       "analysis",
       "implementation"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "research",
       "writing",
       "analysis",
       "implementation"
      ],
      "type": "string"
     },
     "probabilities": {
      "type": "array",
      "items": {
       "type": "number",
       "default": 0,
       "maximum": 1,
       "minimum": 0
      },
      "default": [],
      "maxItems": 4,
      "minItems": 4
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "research sample document number 0 for this supplied dataset.",
     "actual": "research",
     "predicted": "research",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-1",
     "text": "research sample document number 1 for this supplied dataset.",
     "actual": "research",
     "predicted": "research",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-2",
     "text": "research sample document number 2 for this supplied dataset.",
     "actual": "research",
     "predicted": "research",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-0",
     "text": "writing sample document number 0 for this supplied dataset.",
     "actual": "writing",
     "predicted": "writing",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-1",
     "text": "writing sample document number 1 for this supplied dataset.",
     "actual": "writing",
     "predicted": "writing",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/task-type-classifier-confidence-calibration-bins-4f389683/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
