# Commerce Intent Classifier - Macro, Micro & Weighted Evaluation Scores

> Commerce Intent Classifier - Macro, Micro & Weighted Evaluation Scores 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-18).

Computes macro, micro, and weighted precision/recall/F1 scores for a set of commerce intent classification predictions (browse, purchase, return, other) against ground-truth labels.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-commerce-intent-aggregate-scores?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/commerce-intent-classifier-macro-micro-weighted-evaluation-scores-0b1ccce6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZZ3riATbdKJ353qOLbDZg

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-classifier-macro-micro-weighted-evaluation-scores-0b1ccce6 -d '<json body>'
```

Example prompt: Evaluate my commerce intent classifier — I have 50 labelled records where each has the actual label (browse, purchase, return, or other) and my model's predicted label, and I need the macro, micro, and weighted F1 scores back.

## When to prefer this

Choose this endpoint when you need fast, cheap ($0.01 USDC) aggregate classification metrics for a commerce intent model without spinning up your own evaluation pipeline. It is ideal for teams evaluating browse/purchase/return/other classifiers on small datasets (up to 200 records) and wanting macro, micro, and weighted F1 in a single call.

## Known failure modes

- More than 200 records supplied — request rejected or truncated
- Missing required fields (id, text, actual, predicted) on any record — validation error
- Invalid enum values for actual or predicted labels — schema rejection
- Empty records array — no scores computed
- Network timeout or payment failure via x402 protocol

## How this service works

Commerce intent - Macro micro and weighted scores: Macro micro and weighted scores 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 macro micro and weighted scores deliverable.

## Output

Returns macro, micro, and weighted aggregate evaluation scores (precision, recall, F1) computed across all supplied labelled records against the four commerce intent classes: browse, purchase, return, and other.

## 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": [
       "browse",
       "purchase",
       "return",
       "other"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "browse",
       "purchase",
       "return",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "browse sample document number 0 for this supplied dataset.",
     "actual": "browse",
     "predicted": "browse"
    },
    {
     "id": "example-0-1",
     "text": "browse sample document number 1 for this supplied dataset.",
     "actual": "browse",
     "predicted": "browse"
    },
    {
     "id": "example-0-2",
     "text": "browse sample document number 2 for this supplied dataset.",
     "actual": "browse",
     "predicted": "browse"
    },
    {
     "id": "example-1-0",
     "text": "purchase sample document number 0 for this supplied dataset.",
     "actual": "purchase",
     "predicted": "purchase"
    },
    {
     "id": "example-1-1",
     "text": "purchase sample document number 1 for this supplied dataset.",
     "actual": "purchase",
     "predicted": "purchase"
    },
    {
     "id": "example-1-2",
     "text": "purchase sample document number 2 for this supplied dataset.",
     "actual": "purchase",
     "predicted": "purchase"
    },
    {
     "id": "example-2-0",
     "text": "return sample document number 0 for this supplied dataset.",
     "actual": "return",
     "predicted": "return"
    },
    {
     "id": "example-2-1",
     "text": "return sample document number 1 for this supplied dataset.",
     "actual": "return",
     "predicted": "return"
    },
    {
     "id": "example-2-2",
     "text": "return sample document number 2 for this supplied dataset.",
     "actual": "return",
     "predicted": "return"
    },
    {
     "id": "example-3-0",
     "text": "other sample document number 0 for this supplied dataset.",
     "actual": "other",
     "predicted": "other"
    },
    {
     "id": "example-3-1",
     "text": "other sample documen
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/commerce-intent-classifier-macro-micro-weighted-evaluation-scores-0b1ccce6/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)
