# Language Routing - Fixed-Holdout Learning Curve

> Language Routing - 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).

Computes a fixed-holdout learning curve for a naive-Bayes language routing classifier (english/french/spanish/other) using up to 200 supplied labelled text records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-language-routing-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/language-routing-fixed-holdout-learning-curve-dd598396
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_70IeMHozlrNAKofAp25UB

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

Example prompt: I have 150 labelled text samples across english, french, spanish, and other — can you run a fixed-holdout learning curve to show how classification accuracy improves as training size increases?

## When to prefer this

Choose this endpoint when you have up to 200 labelled text records and want a quick, cheap ($0.01 USDC) diagnostic on how a naive-Bayes language classifier scales with training data — ideal for early-stage data sufficiency checks or baseline benchmarking before investing in larger or hosted models. Prefer it over general ML training services when you only need a local evaluation curve, not a hosted or fine-tuned model.

## Known failure modes

- Fewer than 2 records supplied — minimum input violation
- More than 200 records supplied — exceeds maximum item count
- Record text exceeds 1000-character limit — truncation or rejection
- Invalid or missing 'actual' label not in allowed enum — schema validation error
- Insufficient class diversity in supplied records — degenerate learning curve
- Payment not completed via x402 protocol — request blocked

## How this service works

Language routing - Fixed-holdout learning curve: Fixed-holdout learning curve for Language routing. 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 classification accuracy (and related metrics) of a naive-Bayes language routing model as a function of training set size, evaluated on a held-out portion of the supplied labelled records covering english, french, spanish, and other classes.

## 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": [
       "english",
       "french",
       "spanish",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "english sample document number 0 for this supplied dataset.",
     "actual": "english"
    },
    {
     "id": "example-0-1",
     "text": "english sample document number 1 for this supplied dataset.",
     "actual": "english"
    },
    {
     "id": "example-0-2",
     "text": "english sample document number 2 for this supplied dataset.",
     "actual": "english"
    },
    {
     "id": "example-1-0",
     "text": "french sample document number 0 for this supplied dataset.",
     "actual": "french"
    },
    {
     "id": "example-1-1",
     "text": "french sample document number 1 for this supplied dataset.",
     "actual": "french"
    },
    {
     "id": "example-1-2",
     "text": "french sample document number 2 for this supplied dataset.",
     "actual": "french"
    },
    {
     "id": "example-2-0",
     "text": "spanish sample document number 0 for this supplied dataset.",
     "actual": "spanish"
    },
    {
     "id": "example-2-1",
     "text": "spanish sample document number 1 for this supplied dataset.",
     "actual": "spanish"
    },
    {
     "id": "example-2-2",
     "text": "spanish sample document number 2 for this supplied dataset.",
     "actual": "spanish"
    },
    {
     "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/language-routing-fixed-holdout-learning-curve-dd598396/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)
