# Review Aspect Local Text Classifier (Train & Classify)

> Review Aspect Local Text Classifier (Train & Classify) 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).

Trains a local naive-Bayes text classifier on up to 200 labelled review records and classifies query texts into review aspect categories (performance, appearance, value, other).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-review-aspect-local-classifier?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/review-aspect-local-text-classifier-train-classify-5e511286
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hQudDqVFCS_yDrDL6DICN

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 review-aspect-local-text-classifier-train-classify-5e511286 -d '<json body>'
```

Example prompt: I have 50 labelled product review snippets tagged as performance, appearance, value, or other — can you train a local naive-Bayes text classifier on them and then classify these three new review sentences: 'The battery lasts all day', 'Looks sleek and modern', and 'Great value for money'?

## When to prefer this

Choose this endpoint when you need a fast, cheap, locally-run text classification baseline for review aspect detection without any hosted model, fine-tuning, or foundation model costs. Ideal for prototyping, quick evaluations, or offline-style batch labelling where up to 200 labelled examples are available and a naive-Bayes approach is sufficient. Prefer alternatives if you need high accuracy, large-scale training, or deep-learning-based classification.

## Known failure modes

- Fewer than 2 labelled records supplied — minimum input not met
- More than 200 records provided — exceeds maxItems limit
- Record text exceeds 1000 characters — field length violation
- Unsupported aspect label used (not one of performance/appearance/value/other)
- More than 20 query texts supplied — exceeds query limit
- Empty or missing query_texts array — required field absent
- Insufficient class diversity in training data — classifier may not generalise
- Malformed record objects (missing id, text, or actual fields)

## How this service works

Review aspect - Train local text baseline and classify: Train local text baseline and classify for Review aspect. 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 predicted aspect classifications for the supplied query texts (performance, appearance, value, or other), along with a local baseline evaluation based on the provided labelled training records. No hosted model is retained after the call.

## 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": [
       "performance",
       "appearance",
       "value",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "performance sample document number 0 for this supplied dataset.",
     "actual": "performance"
    },
    {
     "id": "example-0-1",
     "text": "performance sample document number 1 for this supplied dataset.",
     "actual": "performance"
    },
    {
     "id": "example-0-2",
     "text": "performance sample document number 2 for this supplied dataset.",
     "actual": "performance"
    },
    {
     "id": "example-1-0",
     "text": "appearance sample document number 0 for this supplied dataset.",
     "actual": "appearance"
    },
    {
     "id": "example-1-1",
     "text": "appearance sample document number 1 for this supplied dataset.",
     "actual": "appearance"
    },
    {
     "id": "example-1-2",
     "text": "appearance sample document number 2 for this supplied dataset.",
     "actual": "appearance"
    },
    {
     "id": "example-2-0",
     "text": "value sample document number 0 for this supplied dataset.",
     "actual": "value"
    },
    {
     "id": "example-2-1",
     "text": "value sample document number 1 for this supplied dataset.",
     "actual": "value"
    },
    {
     "id": "example-2-2",
     "text": "value sample document number 2 for this supplied dataset.",
     "actual": "value"
    },
    {
     "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
  },
  "query_texts": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 1000
   },
   "default": [
    "performan
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/review-aspect-local-text-classifier-train-classify-5e511286/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)
