# Knowledge Topic Fixed-Holdout Learning Curve

> Knowledge Topic 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-16).

Computes a fixed-holdout learning curve for a knowledge-topic text classifier (setup/usage/troubleshooting/reference) using a naive-Bayes baseline on up to 200 labelled records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-knowledge-topic-learning-curve?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/knowledge-topic-fixed-holdout-learning-curve-99ea197c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7kM2LIXby-1zITDzEvWdS

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 knowledge-topic-fixed-holdout-learning-curve-99ea197c -d '<json body>'
```

Example prompt: Run a fixed-holdout learning curve on my 120 labelled knowledge-base articles — each record has an id, the article text, and a topic label (setup, usage, troubleshooting, or reference) — so I can see how classifier accuracy changes with training size.

## When to prefer this

Choose this endpoint when you have up to 200 labelled text records across the four knowledge-topic categories (setup, usage, troubleshooting, reference) and want a lightweight, low-cost learning curve evaluation using a local naive-Bayes baseline — without needing to train or host a foundation model. Ideal for quickly diagnosing whether more labelled data is needed before investing in larger model training.

## Known failure modes

- Fewer than 2 records supplied — minimum input not met
- Records missing required fields (id, text, actual) — schema validation error
- More than 200 records submitted — exceeds maximum input limit
- Label value outside allowed enum (setup/usage/troubleshooting/reference) — invalid label error
- Too few examples per class for a meaningful holdout split — degenerate curve output
- Payment not included or insufficient — x402 payment required error

## How this service works

Knowledge topic - Fixed-holdout learning curve: Fixed-holdout learning curve for Knowledge topic. 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 incremental training set sizes, produced by a local naive-Bayes baseline model evaluated on a held-out split of the supplied labelled text records. No hosted or foundation model is involved.

## 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": [
       "setup",
       "usage",
       "troubleshooting",
       "reference"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "setup sample document number 0 for this supplied dataset.",
     "actual": "setup"
    },
    {
     "id": "example-0-1",
     "text": "setup sample document number 1 for this supplied dataset.",
     "actual": "setup"
    },
    {
     "id": "example-0-2",
     "text": "setup sample document number 2 for this supplied dataset.",
     "actual": "setup"
    },
    {
     "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": "troubleshooting sample document number 0 for this supplied dataset.",
     "actual": "troubleshooting"
    },
    {
     "id": "example-2-1",
     "text": "troubleshooting sample document number 1 for this supplied dataset.",
     "actual": "troubleshooting"
    },
    {
     "id": "example-2-2",
     "text": "troubleshooting sample document number 2 for this supplied dataset.",
     "actual": "troubleshooting"
    },
    {
     "id": "example-3-0",
     "text": "reference sample document number 0 for this supplied dataset.",
     "actual": "reference"
    },
    {
     "id": "example-3-1",
     "text": "reference sample document number 1 for this supplied dataset.",
     "actual": "reference"
    },
    {
     "id": "example-3-2",
     "text": "reference sample document number 2 for this supplied dataset.",
     "actual": "reference"
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

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