{"uid":"cap_hQudDqVFCS_yDrDL6DICN","slug":"review-aspect-local-text-classifier-train-classify-5e511286","name":"Review Aspect Local Text Classifier (Train & Classify)","description":"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.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-review-aspect-local-classifier?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":["performance sample"],"maxItems":20,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nDadUPF0iJgYtLhwpAA_5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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).","exampleAgentPrompt":"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'?","exampleUseCases":[{"title":"Product review aspect triage","prompt":"I've got 120 labelled customer reviews for our headphones, each tagged as performance, appearance, value, or other. Train a quick local classifier on them and tell me which aspect each of these 10 new reviews falls into."},{"title":"Baseline model for review pipeline","prompt":"We need a cheap baseline classifier for our review pipeline — can you train a naive-Bayes model on these 80 labelled review records I'm providing and evaluate how well it predicts performance vs appearance vs value vs other on the same data?"},{"title":"Classifying competitor review snippets","prompt":"Here are 30 labelled reviews from our competitors' product pages — train a local text model on them and classify these 5 new snippets I scraped today into performance, appearance, value, or other categories."}],"resultDescription":"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.","failureModes":["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)"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:54:23.903Z","isFirstParty":false,"canonicalSlug":"review-aspect-local-text-classifier-train-classify-5e511286"}