# Ticket Priority Confusion Matrix

> Ticket Priority Confusion Matrix 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).

Computes a confusion matrix for a 3-class ticket priority classifier (low/normal/high) given up to 200 labelled text records with actual and predicted labels.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-ticket-priority-confusion?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/ticket-priority-confusion-matrix-6e90071f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TRrFhVBVwCnNIMm8dyw1q

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 ticket-priority-confusion-matrix-6e90071f -d '<json body>'
```

Example prompt: Run a confusion matrix on my ticket priority classifier — here are 50 support tickets each with their actual label (low, normal, or high) and the predicted label my model assigned, so I can see where it's getting confused.

## When to prefer this

Use this endpoint when you need a fast, low-cost confusion matrix evaluation for a 3-class ticket priority classifier (low/normal/high) without setting up local ML tooling. Ideal for agents that need to programmatically assess model quality on small labelled datasets (up to 200 records) as part of a CI/CD pipeline or model validation workflow.

## Known failure modes

- Fewer than 2 records provided — minimum record count not met
- Records exceed 200 items — maximum batch size exceeded
- Missing required fields (id, text, actual, predicted) in one or more records
- Invalid label values outside enum (low, normal, high)
- Record ID exceeds 80 characters or is empty
- Payment of 0.01 USDC not completed — x402 payment required

## How this service works

Ticket priority - Confusion matrix: Confusion matrix for Ticket priority. 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 confusion matrix deliverable.

## Output

A bounded confusion matrix deliverable showing the 3x3 grid of actual vs predicted counts across low, normal, and high ticket priority classes, revealing where the classifier makes errors and how often each class is misclassified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual",
     "predicted"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "enum": [
       "low",
       "normal",
       "high"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "low",
       "normal",
       "high"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "low sample document number 0 for this supplied dataset.",
     "actual": "low",
     "predicted": "low"
    },
    {
     "id": "example-0-1",
     "text": "low sample document number 1 for this supplied dataset.",
     "actual": "low",
     "predicted": "low"
    },
    {
     "id": "example-0-2",
     "text": "low sample document number 2 for this supplied dataset.",
     "actual": "low",
     "predicted": "low"
    },
    {
     "id": "example-1-0",
     "text": "normal sample document number 0 for this supplied dataset.",
     "actual": "normal",
     "predicted": "normal"
    },
    {
     "id": "example-1-1",
     "text": "normal sample document number 1 for this supplied dataset.",
     "actual": "normal",
     "predicted": "normal"
    },
    {
     "id": "example-1-2",
     "text": "normal sample document number 2 for this supplied dataset.",
     "actual": "normal",
     "predicted": "normal"
    },
    {
     "id": "example-2-0",
     "text": "high sample document number 0 for this supplied dataset.",
     "actual": "high",
     "predicted": "high"
    },
    {
     "id": "example-2-1",
     "text": "high sample document number 1 for this supplied dataset.",
     "actual": "high",
     "predicted": "high"
    },
    {
     "id": "example-2-2",
     "text": "high sample document number 2 for this supplied dataset.",
     "actual": "high",
     "predicted": "high"
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ticket-priority-confusion-matrix-6e90071f/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)
