# Review Aspect Confusion Matrix

> Review Aspect 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-16).

Computes a confusion matrix for a review aspect classifier (performance, appearance, value, other) given up to 200 labelled text records with actual and predicted labels.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-review-aspect-confusion?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/review-aspect-confusion-matrix-8a5aad0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_md4JDXxY3kImomK8N0Co6

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 review-aspect-confusion-matrix-8a5aad0a -d '<json body>'
```

Example prompt: I have up to 200 labelled product reviews where each record has an actual aspect label (performance, appearance, value, or other) and a predicted label from my classifier — can you compute the confusion matrix for those results?

## When to prefer this

Choose this endpoint when you need a quick, low-cost confusion matrix for a small review aspect classification dataset (up to 200 records) with four fixed categories (performance, appearance, value, other), and you already have both actual and predicted labels. It is ideal for lightweight model evaluation without needing a hosted ML platform or foundation model inference.

## Known failure modes

- Exceeding 200 records returns an error or truncation
- Missing required fields (id, text, actual, predicted) cause validation failure
- Invalid enum values for actual or predicted labels (outside performance/appearance/value/other) cause rejection
- Empty records array returns no meaningful matrix
- Highly imbalanced label distributions may produce degenerate confusion matrices

## How this service works

Review aspect - Confusion matrix: Confusion matrix for Review aspect. 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, for each combination of actual and predicted review aspect labels (performance, appearance, value, other), how many records fall into each cell — enabling calculation of per-class precision, recall, and overall accuracy from the supplied labelled records.

## 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": [
       "performance",
       "appearance",
       "value",
       "other"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "performance",
       "appearance",
       "value",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "performance sample document number 0 for this supplied dataset.",
     "actual": "performance",
     "predicted": "performance"
    },
    {
     "id": "example-0-1",
     "text": "performance sample document number 1 for this supplied dataset.",
     "actual": "performance",
     "predicted": "performance"
    },
    {
     "id": "example-0-2",
     "text": "performance sample document number 2 for this supplied dataset.",
     "actual": "performance",
     "predicted": "performance"
    },
    {
     "id": "example-1-0",
     "text": "appearance sample document number 0 for this supplied dataset.",
     "actual": "appearance",
     "predicted": "appearance"
    },
    {
     "id": "example-1-1",
     "text": "appearance sample document number 1 for this supplied dataset.",
     "actual": "appearance",
     "predicted": "appearance"
    },
    {
     "id": "example-1-2",
     "text": "appearance sample document number 2 for this supplied dataset.",
     "actual": "appearance",
     "predicted": "appearance"
    },
    {
     "id": "example-2-0",
     "text": "value sample document number 0 for this supplied dataset.",
     "actual": "value",
     "predicted": "value"
    },
    {
     "id": "example-2-1",
     "text": "value sample document number 1 for this supplied dataset.",
     "actual": "value",
     "predicted": "value"
    },
    {
     "id": "example-2-2",
     "text": "value sample document number 2 for this supplied dataset.",
     "actual": "value",
     "predicted": "value"
    },
    {
     "id": "example-3-0",
     "text": "other sample document number 0 for this supplied dataset.",
     "actual": "other",
     "predicted": "other"
    },

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/review-aspect-confusion-matrix-8a5aad0a/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)
