# Cancellation Reason Fixed-Holdout Learning Curve

> Cancellation Reason 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-19).

Generates a fixed-holdout learning curve for a labelled cancellation-reason text dataset using a naive-Bayes classifier, showing how accuracy scales with training set size.

## Facts

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

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

Example prompt: Run a fixed-holdout learning curve on my cancellation reason dataset — I have about 80 labelled records split across price, usage, quality, and other categories, and I want to see how the naive-Bayes accuracy changes as the training set grows.

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.01) learning curve diagnostic for a small cancellation-reason text dataset (up to 200 records) using a naive-Bayes baseline, without needing a hosted model or access to a foundation model. Ideal for feasibility checks, data-sufficiency analysis, and benchmarking before committing to a larger ML pipeline. Not suitable for production model training or datasets exceeding 200 records.

## Known failure modes

- Fewer than 2 records supplied — minimum record count not met
- Record text exceeds 1000 characters — field length violation
- Invalid 'actual' label value outside enum (price/usage/quality/other)
- More than 200 records submitted — exceeds maxItems limit
- Missing required fields (id, text, actual) on any record
- Payment of 0.01 USDC not completed — x402 payment required
- Insufficient class diversity to compute meaningful learning curve

## How this service works

Cancellation reason - Fixed-holdout learning curve: Fixed-holdout learning curve for Cancellation reason. 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

Returns a fixed-holdout learning curve report showing classifier accuracy (and related metrics) at successive training set sizes using a naive-Bayes baseline, evaluated against a held-out portion of the supplied labelled records. No hosted model is trained; results are local and bounded to the submitted dataset.

## 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": [
       "price",
       "usage",
       "quality",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "price sample document number 0 for this supplied dataset.",
     "actual": "price"
    },
    {
     "id": "example-0-1",
     "text": "price sample document number 1 for this supplied dataset.",
     "actual": "price"
    },
    {
     "id": "example-0-2",
     "text": "price sample document number 2 for this supplied dataset.",
     "actual": "price"
    },
    {
     "id": "example-1-0",
     "text": "usage sample document number 0 for this supplied dataset.",
     "actual": "usage"
    },
    {
     "id": "example-1-1",
     "text": "usage sample document number 1 for this supplied dataset.",
     "actual": "usage"
    },
    {
     "id": "example-1-2",
     "text": "usage sample document number 2 for this supplied dataset.",
     "actual": "usage"
    },
    {
     "id": "example-2-0",
     "text": "quality sample document number 0 for this supplied dataset.",
     "actual": "quality"
    },
    {
     "id": "example-2-1",
     "text": "quality sample document number 1 for this supplied dataset.",
     "actual": "quality"
    },
    {
     "id": "example-2-2",
     "text": "quality sample document number 2 for this supplied dataset.",
     "actual": "quality"
    },
    {
     "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/cancellation-reason-fixed-holdout-learning-curve-d88bb226/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)
