{"uid":"cap_0wzpYx7mly8NEF_iLZ2mE","slug":"return-reason-classifier-grouped-three-fold-cross-validation-f200de4d","name":"Return Reason Classifier – Grouped Three-Fold Cross-Validation","description":"Return reason - Grouped three-fold baseline evaluation: Grouped three-fold baseline evaluation for Return reason. 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.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-return-reason-cross-validation?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":["damaged","wrong_item","unwanted","other"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"damaged sample document number 0 for this supplied dataset.","actual":"damaged"},{"id":"example-0-1","text":"damaged sample document number 1 for this supplied dataset.","actual":"damaged"},{"id":"example-0-2","text":"damaged sample document number 2 for this supplied dataset.","actual":"damaged"},{"id":"example-1-0","text":"wrong_item sample document number 0 for this supplied dataset.","actual":"wrong_item"},{"id":"example-1-1","text":"wrong_item sample document number 1 for this supplied dataset.","actual":"wrong_item"},{"id":"example-1-2","text":"wrong_item sample document number 2 for this supplied dataset.","actual":"wrong_item"},{"id":"example-2-0","text":"unwanted sample document number 0 for this supplied dataset.","actual":"unwanted"},{"id":"example-2-1","text":"unwanted sample document number 1 for this supplied dataset.","actual":"unwanted"},{"id":"example-2-2","text":"unwanted sample document number 2 for this supplied dataset.","actual":"unwanted"},{"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}}},"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_UIOYGlz0Kg_IVfz6TZmxG","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":"Runs a grouped three-fold cross-validation baseline evaluation on up to 200 labelled return-reason text records using a naive-Bayes classifier, returning accuracy and fold metrics.","exampleAgentPrompt":"Run a grouped three-fold cross-validation baseline on these 150 labelled return-reason records I have — each one has an ID, the customer's return comment text, and the actual label (damaged, wrong_item, unwanted, or other) — and tell me what accuracy the naive-Bayes baseline achieves across the folds.","exampleUseCases":[{"title":"Validate return reason labelling quality","prompt":"I've got 120 labelled customer return comments — each tagged as damaged, wrong_item, unwanted, or other — can you run a three-fold cross-validation on them to see if the labels are consistent enough for a naive-Bayes baseline to learn from?"},{"title":"Benchmark before full model training","prompt":"Before I invest in training a bigger model, can you run a grouped three-fold baseline evaluation on my 200 return reason records (damaged, wrong_item, unwanted, other) so I have a naive-Bayes accuracy score to compare against?"},{"title":"Audit annotation consistency for a new return category","prompt":"We just added an 'unwanted' return category to our labelling scheme — here are 80 newly labelled records across all four categories, can you do a grouped three-fold cross-validation to check whether the naive-Bayes baseline can distinguish unwanted from the others?"}],"resultDescription":"Returns a grouped three-fold cross-validation result for the supplied labelled return-reason dataset, including per-fold and aggregate accuracy metrics produced by a local naive-Bayes baseline classifier. No hosted model is involved; the computation is self-contained and deterministic for the supplied records.","failureModes":["Fewer than 2 records supplied — minimum input not met","More than 200 records supplied — exceeds maximum batch size","Invalid or missing 'actual' label not in enum (damaged, wrong_item, unwanted, other)","Records with empty or missing 'text' field cause validation errors","Insufficient class diversity for meaningful three-fold grouping","Payment not completed — x402 micropayment of 0.01 USDC required per call"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, local baseline cross-validation for a return-reason text classification task with up to 200 labelled examples and four fixed categories (damaged, wrong_item, unwanted, other). It is ideal for sanity-checking label quality or annotation consistency before committing to larger model training. Prefer alternatives if you need foundation-model training, hosted inference, more than 200 records, or categories beyond the four supported labels.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:27.164Z","isFirstParty":false,"canonicalSlug":"return-reason-classifier-grouped-three-fold-cross-validation-f200de4d"}