# Knowledge Topic Cross-Validation - Grouped Three-Fold Baseline Evaluation

> Knowledge Topic Cross-Validation - Grouped Three-Fold Baseline Evaluation 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).

Runs a grouped three-fold cross-validation using a naive-Bayes classifier on up to 200 labelled knowledge-topic text records (setup, usage, troubleshooting, reference) and returns baseline accuracy metrics.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-knowledge-topic-cross-validation?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-cross-validation-grouped-three-fold-baseline-evaluation-a70b856e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QktRU0NG6nk71o8bV481V

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-cross-validation-grouped-three-fold-baseline-evaluation-a70b856e -d '<json body>'
```

Example prompt: Run a grouped three-fold naive-Bayes baseline evaluation on my 50 labelled knowledge articles — each has an ID, text, and one of these labels: setup, usage, troubleshooting, or reference — and tell me what accuracy score the baseline model achieves.

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.01) baseline evaluation of a knowledge-topic text classification task using a naive-Bayes model and three-fold cross-validation, without requiring a hosted model, API key, or foundation-model fine-tuning. It is ideal for validating label quality, estimating class separability, or benchmarking prior to investing in a more complex ML pipeline. Prefer it over hosted ML evaluation services when data privacy is a concern (local evaluation), when cost is a constraint, or when the dataset is small (up to 200 records) and you only need a simple baseline.

## 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 maxItems limit
- Invalid label value in 'actual' field — must be one of: setup, usage, troubleshooting, reference
- Text too long — individual text fields exceeding 1000 characters may be rejected
- Insufficient class representation for three-fold grouping — too few examples per class to form valid folds
- Payment not processed — x402 payment of 0.01 USDC required per call

## How this service works

Knowledge topic - Grouped three-fold baseline evaluation: Grouped three-fold baseline evaluation 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 grouped three-fold baseline evaluation deliverable.

## Output

Returns grouped three-fold cross-validation results from a local naive-Bayes classifier trained on the supplied labelled records. Output includes per-fold and aggregate accuracy or classification metrics across the four knowledge-topic categories (setup, usage, troubleshooting, reference), giving a baseline benchmark without any hosted model or foundation-model training.

## 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-cross-validation-grouped-three-fold-baseline-evaluation-a70b856e/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)
