{"uid":"cap_VbNLyQtOs1capwLo6N2oW","slug":"cancellation-reason-label-distribution-34249ddc","name":"Cancellation Reason Label Distribution","description":"Cancellation reason - Label distribution: Label distribution for Cancellation 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 label distribution deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-cancellation-reason-label-balance?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":["price","usage","quality","other"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"price sample document number 0 for this supplied dataset.","actual":"price"},{"id":"example-0-1","text":"price sample document number 1 for this supplied dataset.","actual":"price"},{"id":"example-0-2","text":"price sample document number 2 for this supplied dataset.","actual":"price"},{"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":"quality sample document number 0 for this supplied dataset.","actual":"quality"},{"id":"example-2-1","text":"quality sample document number 1 for this supplied dataset.","actual":"quality"},{"id":"example-2-2","text":"quality sample document number 2 for this supplied dataset.","actual":"quality"},{"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_aSfk1Vpkqpf6sJkiGF-oh","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":"Computes the label distribution (class balance) across up to 200 labelled cancellation-reason text records tagged as price, usage, quality, or other.","exampleAgentPrompt":"I have 150 labelled cancellation reason records tagged as price, usage, quality, or other — can you check the label distribution to see if the classes are balanced before I train a classifier?","exampleUseCases":[{"title":"Pre-training class balance audit","prompt":"Before I fine-tune my cancellation classifier, can you check whether my 120 labelled records are evenly split across price, usage, quality, and other categories, or if one class is dominating?"},{"title":"Churn reason dataset QA","prompt":"I just finished labelling 80 customer cancellation comments as price, usage, quality, or other — can you show me the breakdown so I can see if any category is underrepresented?"},{"title":"Identifying label skew in subscription data","prompt":"We labeled 200 cancellation survey responses with reasons like price and usage — run a label distribution check so I can tell my team whether the dataset is too skewed to be useful for model training."}],"resultDescription":"Returns a label distribution summary showing the count and/or proportion of records falling into each cancellation reason category (price, usage, quality, other) across the submitted dataset of up to 200 labelled records.","failureModes":["Fewer than 2 records submitted — minimum record count not met","Record count exceeds 200 — maximum items limit exceeded","Missing required fields (id, text, or actual) on one or more records","Invalid enum value for 'actual' field (must be price, usage, quality, or other)","Payment not included or insufficient — x402 payment required","Record ID exceeds 80 character limit or is empty"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01) label distribution audit on a small labelled dataset (up to 200 records) with cancellation reason categories (price, usage, quality, other) — especially useful before training a naive-Bayes or similar classifier to detect class imbalance without spinning up a hosted model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:53.474Z","isFirstParty":false,"canonicalSlug":"cancellation-reason-label-distribution-34249ddc"}