# Commerce Intent Multiclass Brier Score Calculator

> Commerce Intent Multiclass Brier Score Calculator 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-20).

Computes the multiclass Brier score for a commerce intent classifier across up to 200 labeled text records with browse/purchase/return/other categories.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-commerce-intent-brier?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/commerce-intent-multiclass-brier-score-calculator-0c136543
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rb8LY6tylDHlRcBFfGH_C

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 commerce-intent-multiclass-brier-score-calculator-0c136543 -d '<json body>'
```

Example prompt: Evaluate my commerce intent classifier using a Brier score — I have 50 labeled records where each has the actual intent (browse, purchase, return, or other), the predicted intent, and a 4-element probability vector. Can you compute the multiclass Brier score across all of them?

## When to prefer this

Choose this endpoint when you need a fast, low-cost ($0.01 USDC) probabilistic evaluation of a 4-class commerce intent classifier (browse/purchase/return/other) using the Brier score metric on up to 200 labeled records. Prefer it when you want to assess both accuracy and probability calibration of predicted class distributions without needing a hosted model or foundation-model retraining — especially useful for local model benchmarking or validation pipeline integration.

## Known failure modes

- More than 200 records submitted — exceeds maximum batch size
- Probability vector does not contain exactly 4 elements per record
- Probability values outside [0,1] range
- Invalid or unrecognized intent class label (must be browse, purchase, return, or other)
- Missing required fields (id, text, actual, predicted, probabilities) on any record
- Empty records array submitted

## How this service works

Commerce intent - Multiclass Brier score: Multiclass Brier score for Commerce intent. 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 multiclass brier score deliverable.

## Output

Returns the multiclass Brier score — a bounded probabilistic metric (0 to 2, lower is better) summarizing how well the predicted class probability vectors match the true one-hot labels across all submitted records. The result reflects both accuracy and calibration of the commerce intent classifier.

## 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": [
       "browse",
       "purchase",
       "return",
       "other"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "browse",
       "purchase",
       "return",
       "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": "browse sample document number 0 for this supplied dataset.",
     "actual": "browse",
     "predicted": "browse",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-1",
     "text": "browse sample document number 1 for this supplied dataset.",
     "actual": "browse",
     "predicted": "browse",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-2",
     "text": "browse sample document number 2 for this supplied dataset.",
     "actual": "browse",
     "predicted": "browse",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-0",
     "text": "purchase sample document number 0 for this supplied dataset.",
     "actual": "purchase",
     "predicted": "purchase",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-1",
     "text": "purchase sample document number 1 for this supplied dataset.",
     "actual": "purchase",
     "predicted": "purchase",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-2",

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/commerce-intent-multiclass-brier-score-calculator-0c136543/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)
