# Cancellation Reason Label and Prediction Audit

> Cancellation Reason Label and Prediction Audit 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-19).

Audits up to 200 labelled text records for a cancellation-reason classifier, computing evaluation metrics such as accuracy, confusion matrices, and log-loss against four classes: price, usage, quality, and other.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-cancellation-reason-label-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cancellation-reason-label-and-prediction-audit-17aafc43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I8mR4QPVZLT93owbBbNgn

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 cancellation-reason-label-and-prediction-audit-17aafc43 -d '<json body>'
```

Example prompt: Can you audit my cancellation reason classifier results? I have 120 labelled records where each one has the actual label (price, usage, quality, or other), the predicted label, and the four class probabilities — run the label and prediction audit and give me the accuracy and confusion matrix breakdown.

## When to prefer this

Choose this endpoint when you need a lightweight, low-cost audit of an existing cancellation-reason classifier's label and prediction quality on a small labelled dataset (up to 200 records) with the four standard classes (price, usage, quality, other), without needing to train or host a model. It is best suited for spot-checking model performance, debugging misclassifications, or benchmarking against naive-Bayes baselines in a local evaluation workflow.

## Known failure modes

- More than 200 records supplied — request exceeds the bounded input limit
- Probability arrays not exactly length 4 — schema validation error
- Invalid class label outside price/usage/quality/other enum — rejected record
- Missing required fields (id, text, actual, predicted, probabilities) — validation failure
- Malformed probability values outside [0,1] range — schema rejection

## How this service works

Cancellation reason - Label and prediction audit: Label and prediction audit for Cancellation reason. 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 label and prediction audit deliverable.

## Output

A bounded audit report covering aggregate and per-class evaluation metrics (accuracy, confusion matrix, log-loss, precision/recall) for up to 200 cancellation-reason records, comparing actual labels against predicted labels and probability outputs across the four classes: price, usage, quality, and other.

## 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": [
       "price",
       "usage",
       "quality",
       "other"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "price",
       "usage",
       "quality",
       "other"
      ],
      "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": "price sample document number 0 for this supplied dataset.",
     "actual": "price",
     "predicted": "price",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-1",
     "text": "price sample document number 1 for this supplied dataset.",
     "actual": "price",
     "predicted": "price",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-2",
     "text": "price sample document number 2 for this supplied dataset.",
     "actual": "price",
     "predicted": "price",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-0",
     "text": "usage sample document number 0 for this supplied dataset.",
     "actual": "usage",
     "predicted": "usage",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-1",
     "text": "usage sample document number 1 for this supplied dataset.",
     "actual": "usage",
     "predicted": "usage",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-2",
     "text": "usage sample docume
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cancellation-reason-label-and-prediction-audit-17aafc43/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)
