{"uid":"cap_JXBy0SaTZQvWlTrmkeoNq","slug":"sentiment-label-distribution-calculator-396a2394","name":"Sentiment Label Distribution Calculator","description":"Sentiment - Label distribution: Label distribution for Sentiment. 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-sentiment-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":["positive","neutral","negative"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"positive sample document number 0 for this supplied dataset.","actual":"positive"},{"id":"example-0-1","text":"positive sample document number 1 for this supplied dataset.","actual":"positive"},{"id":"example-0-2","text":"positive sample document number 2 for this supplied dataset.","actual":"positive"},{"id":"example-1-0","text":"neutral sample document number 0 for this supplied dataset.","actual":"neutral"},{"id":"example-1-1","text":"neutral sample document number 1 for this supplied dataset.","actual":"neutral"},{"id":"example-1-2","text":"neutral sample document number 2 for this supplied dataset.","actual":"neutral"},{"id":"example-2-0","text":"negative sample document number 0 for this supplied dataset.","actual":"negative"},{"id":"example-2-1","text":"negative sample document number 1 for this supplied dataset.","actual":"negative"},{"id":"example-2-2","text":"negative sample document number 2 for this supplied dataset.","actual":"negative"}],"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_HIrFHEm_kX2Ak9yf9GZtF","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 (positive/neutral/negative balance) across a batch of up to 200 labelled sentiment text records","exampleAgentPrompt":"Can you check the label balance across my 150 labelled customer review records — I want to see how many are positive, neutral, and negative before I start training my sentiment model?","exampleUseCases":[{"title":"Pre-training dataset balance audit","prompt":"I have 120 labelled support ticket texts tagged as positive, neutral, or negative. Can you compute the label distribution so I can see if the classes are balanced before I train my classifier?"},{"title":"Class imbalance detection for NLP pipeline","prompt":"Before I fine-tune my sentiment model, can you calculate the breakdown of positive, neutral, and negative labels across my 200 sample records so I know if I need to oversample any class?"},{"title":"Benchmark dataset evaluation","prompt":"I want to evaluate my sentiment benchmark dataset — here are 80 labelled reviews with actual sentiment labels. Can you give me the distribution of how many fall into each sentiment category?"}],"resultDescription":"Returns a label distribution breakdown showing the count and/or proportion of records in each sentiment class (positive, neutral, negative) across the submitted batch of up to 200 labelled text records, enabling assessment of class balance.","failureModes":["Fewer than 2 records submitted — returns validation error","More than 200 records submitted — exceeds maxItems limit","Missing required fields (id, text, actual) on any record — rejected","Invalid label value outside enum (positive/neutral/negative) — schema validation failure","Empty text field — may process but produces unreliable output","Payment not completed — 402 response, no result returned"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01) computation of label distribution across a batch of pre-labelled sentiment records without needing model inference or predictions. Ideal for dataset auditing, class imbalance detection, and pre-training sanity checks. Not suitable when you need actual sentiment predictions on unlabelled text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:37:42.793Z","isFirstParty":false,"canonicalSlug":"sentiment-label-distribution-calculator-396a2394"}