{"uid":"cap_oVhzvFfCFNIIgpaQY9Nf5","slug":"commerce-intent-label-distribution-e788adbe","name":"Commerce Intent Label Distribution","description":"Commerce intent - Label distribution: Label distribution for Commerce intent. 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-commerce-intent-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":["browse","purchase","return","other"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"browse sample document number 0 for this supplied dataset.","actual":"browse"},{"id":"example-0-1","text":"browse sample document number 1 for this supplied dataset.","actual":"browse"},{"id":"example-0-2","text":"browse sample document number 2 for this supplied dataset.","actual":"browse"},{"id":"example-1-0","text":"purchase sample document number 0 for this supplied dataset.","actual":"purchase"},{"id":"example-1-1","text":"purchase sample document number 1 for this supplied dataset.","actual":"purchase"},{"id":"example-1-2","text":"purchase sample document number 2 for this supplied dataset.","actual":"purchase"},{"id":"example-2-0","text":"return sample document number 0 for this supplied dataset.","actual":"return"},{"id":"example-2-1","text":"return sample document number 1 for this supplied dataset.","actual":"return"},{"id":"example-2-2","text":"return sample document number 2 for this supplied dataset.","actual":"return"},{"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_xCLCJ4oCnPa55Ax8Pm23S","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 label distribution statistics for a set of labelled commerce intent text records (browse, purchase, return, other)","exampleAgentPrompt":"Can you check the label distribution across my labelled commerce intent records? I have up to 200 records each tagged as browse, purchase, return, or other — tell me how many fall into each category and whether the dataset is balanced.","exampleUseCases":[{"title":"Pre-training class imbalance check","prompt":"Before I train my intent classifier, can you analyze the label distribution of these 150 labelled customer messages tagged as browse, purchase, return, or other, and tell me if any class is severely underrepresented?"},{"title":"Annotation quality audit","prompt":"I just finished labelling a batch of 80 customer support transcripts with commerce intents — browse, purchase, return, or other. Can you compute the label distribution so I can verify my annotators didn't over-label one category?"},{"title":"Dataset comparison across cohorts","prompt":"I have two sets of labelled commerce intent records from different product categories, each with around 100 samples tagged browse, purchase, return, or other. Can you give me the label distribution for each so I can compare how customer intent differs between them?"}],"resultDescription":"A distribution summary showing the count and/or proportion of records falling into each commerce intent class (browse, purchase, return, other) across the submitted labelled dataset, enabling assessment of class balance.","failureModes":["Fewer than 2 records submitted — returns validation error","More than 200 records submitted — exceeds maxItems limit","Record missing required fields (id, text, actual) — schema validation failure","Invalid label value not in enum (browse, purchase, return, other) — rejected","Text exceeding 1000 characters per record — truncation or rejection","Payment failure (x402) — endpoint returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01 USDC) label distribution summary for a small labelled commerce intent dataset (up to 200 records) without spinning up your own analytics. Ideal for pre-training data audits, annotation QA checks, or comparing class balance across cohorts. Not suitable for training or hosting a model — this is purely a dataset statistics tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:34.651Z","isFirstParty":false,"canonicalSlug":"commerce-intent-label-distribution-e788adbe"}