# Lead Stage Fixed-Holdout Learning Curve

> Lead Stage 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-15).

Generates a fixed-holdout learning curve for a naive-Bayes text classifier across four lead pipeline stages (enquiry, qualified, negotiation, closed) using up to 200 labelled records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-lead-stage-learning-curve?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lead-stage-fixed-holdout-learning-curve-a3dd78df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KIHXFqRU0ETNHOQYIwsVo

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

Example prompt: Run a fixed-holdout learning curve on my lead stage dataset — I have about 60 labelled records split across enquiry, qualified, negotiation, and closed stages, and I want to see how classifier accuracy changes with training set size.

## When to prefer this

Choose this endpoint when you have up to 200 labelled lead-stage text records and want a lightweight, local naive-Bayes baseline learning curve without deploying or fine-tuning a hosted model. It is ideal for quick feasibility checks on data sufficiency for CRM lead classification pipelines at minimal cost ($0.01 USDC).

## Known failure modes

- Fewer than 2 records supplied returns a validation error
- Records missing required fields (id, text, actual) are rejected
- Invalid 'actual' label values outside the enum cause schema errors
- Exceeding 200 records triggers a max-items validation error
- Insufficient class representation may produce degenerate learning curves
- Text fields exceeding 1000 characters per record are truncated or rejected

## How this service works

Lead stage - Fixed-holdout learning curve: Fixed-holdout learning curve for Lead stage. 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 report showing how naive-Bayes text classification accuracy and related metrics change as training set size increases, evaluated against a held-out portion of the supplied labelled records across the four lead stages (enquiry, qualified, negotiation, closed).

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

## More

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