# Release Change Local Text Classifier (Naive Bayes)

> Release Change Local Text Classifier (Naive Bayes) 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).

Trains a local naive Bayes text classifier on up to 200 labelled release-change records and classifies query texts into feature, fix, documentation, or maintenance categories.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-release-change-local-classifier?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/release-change-local-text-classifier-naive-bayes-7a1f610a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1KenJAurEGMzBFACA6s-J

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 release-change-local-text-classifier-naive-bayes-7a1f610a -d '<json body>'
```

Example prompt: Train a local text classifier on my 12 labelled commit messages — 3 each for feature, fix, documentation, and maintenance — and then classify these two new texts: 'added dark mode toggle' and 'patched null pointer crash'.

## When to prefer this

Choose this endpoint when you need a lightweight, local, no-frills text classifier for software release change categorisation without relying on a hosted model or large language model. It is ideal when your dataset is small (under 200 records), you want per-call pricing with no subscription, and the four-class taxonomy (feature, fix, documentation, maintenance) matches your use case exactly.

## Known failure modes

- Fewer than 2 records supplied — minimum input violation
- More than 200 records supplied — exceeds maxItems limit
- Record text exceeds 1000 characters — field length violation
- Invalid 'actual' label value not in enum (feature, fix, documentation, maintenance)
- Query texts array empty or exceeds 20 items
- Insufficient class diversity in training data leading to poor classification
- Payment of 0.01 USDC not completed — x402 payment required before response

## How this service works

Release change - Train local text baseline and classify: Train local text baseline and classify for Release change. 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 train local text baseline and classify deliverable.

## Output

Returns classification predictions for each query text, mapping them to one of the four categories (feature, fix, documentation, maintenance), along with evaluation metrics from the locally trained naive Bayes model. No hosted model is retained; the result is bounded to the supplied 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": [
       "feature",
       "fix",
       "documentation",
       "maintenance"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "feature sample document number 0 for this supplied dataset.",
     "actual": "feature"
    },
    {
     "id": "example-0-1",
     "text": "feature sample document number 1 for this supplied dataset.",
     "actual": "feature"
    },
    {
     "id": "example-0-2",
     "text": "feature sample document number 2 for this supplied dataset.",
     "actual": "feature"
    },
    {
     "id": "example-1-0",
     "text": "fix sample document number 0 for this supplied dataset.",
     "actual": "fix"
    },
    {
     "id": "example-1-1",
     "text": "fix sample document number 1 for this supplied dataset.",
     "actual": "fix"
    },
    {
     "id": "example-1-2",
     "text": "fix sample document number 2 for this supplied dataset.",
     "actual": "fix"
    },
    {
     "id": "example-2-0",
     "text": "documentation sample document number 0 for this supplied dataset.",
     "actual": "documentation"
    },
    {
     "id": "example-2-1",
     "text": "documentation sample document number 1 for this supplied dataset.",
     "actual": "documentation"
    },
    {
     "id": "example-2-2",
     "text": "documentation sample document number 2 for this supplied dataset.",
     "actual": "documentation"
    },
    {
     "id": "example-3-0",
     "text": "maintenance sample document number 0 for this supplied dataset.",
     "actual": "maintenance"
    },
    {
     "id": "example-3-1",
     "text": "maintenance sample document number 1 for this supplied dataset.",
     "actual": "maintenance"
    },
    {
     "id": "example-3-2",
     "text": "maintenance sample document number 2 for this supplied dataset.",
     "actual": "maintenance"
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "query_texts": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 1000
   },
   "defau
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/release-change-local-text-classifier-naive-bayes-7a1f610a/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)
