# Commerce Intent Fixed-Holdout Learning Curve

> Commerce Intent Fixed-Holdout Learning Curve 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).

Generates a fixed-holdout learning curve for a commerce intent classifier (browse/purchase/return/other) using up to 200 labelled text records with naive-Bayes baselines.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-commerce-intent-learning-curve?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-fixed-holdout-learning-curve-7e7af6e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m1m00t24_m1JqJ4h3xG0b

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-fixed-holdout-learning-curve-7e7af6e0 -d '<json body>'
```

Example prompt: Run a fixed-holdout learning curve on my commerce intent dataset — here are 120 labelled records each tagged as browse, purchase, return, or other — and show me how the naive-Bayes baseline accuracy changes with training set size.

## When to prefer this

Choose this endpoint when you need a quick, low-cost diagnostic on a small labelled commerce intent dataset (up to 200 records) to understand how classifier accuracy scales with training size, without needing a hosted model or foundation-model fine-tuning. Ideal for data sufficiency checks, label quality audits, and baseline benchmarking in ecommerce NLP pipelines.

## Known failure modes

- Fewer than 2 records supplied — minimum input not met
- Records missing required fields (id, text, actual) — validation error
- More than 200 records submitted — exceeds maxItems limit
- Invalid 'actual' label value outside enum (browse/purchase/return/other)
- Insufficient class diversity for meaningful learning curve (e.g. all one class)
- Payment not processed — x402 payment required at $0.01 USDC

## How this service works

Commerce intent - Fixed-holdout learning curve: Fixed-holdout learning curve 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 fixed-holdout learning curve deliverable.

## Output

A fixed-holdout learning curve deliverable showing how a naive-Bayes classifier's performance (accuracy or similar metric) changes as the number of training samples increases, evaluated on a held-out split of the supplied labelled text records with commerce intent labels (browse, purchase, return, other).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "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"
    },
    {
     "id": "example-0-1",
     "text": "browse sample document number 1 for this supplied dataset.",
     "actual": "browse"
    },
    {
     "id": "example-0-2",
     "text": "browse sample document number 2 for this supplied dataset.",
     "actual": "browse"
    },
    {
     "id": "example-1-0",
     "text": "purchase sample document number 0 for this supplied dataset.",
     "actual": "purchase"
    },
    {
     "id": "example-1-1",
     "text": "purchase sample document number 1 for this supplied dataset.",
     "actual": "purchase"
    },
    {
     "id": "example-1-2",
     "text": "purchase sample document number 2 for this supplied dataset.",
     "actual": "purchase"
    },
    {
     "id": "example-2-0",
     "text": "return sample document number 0 for this supplied dataset.",
     "actual": "return"
    },
    {
     "id": "example-2-1",
     "text": "return sample document number 1 for this supplied dataset.",
     "actual": "return"
    },
    {
     "id": "example-2-2",
     "text": "return sample document number 2 for this supplied dataset.",
     "actual": "return"
    },
    {
     "id": "example-3-0",
     "text": "other sample document number 0 for this supplied dataset.",
     "actual": "other"
    },
    {
     "id": "example-3-1",
     "text": "other sample document number 1 for this supplied dataset.",
     "actual": "other"
    },
    {
     "id": "example-3-2",
     "text": "other sample document number 2 for this supplied dataset.",
     "actual": "other"
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/commerce-intent-fixed-holdout-learning-curve-7e7af6e0/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)
