{"uid":"cap_j87kEgzH39Gq5XBaaUFOO","slug":"language-routing-label-distribution-8e08e960","name":"Language Routing Label Distribution","description":"Language routing - Label distribution: Label distribution for Language routing. 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-language-routing-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":["english","french","spanish","other"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"english sample document number 0 for this supplied dataset.","actual":"english"},{"id":"example-0-1","text":"english sample document number 1 for this supplied dataset.","actual":"english"},{"id":"example-0-2","text":"english sample document number 2 for this supplied dataset.","actual":"english"},{"id":"example-1-0","text":"french sample document number 0 for this supplied dataset.","actual":"french"},{"id":"example-1-1","text":"french sample document number 1 for this supplied dataset.","actual":"french"},{"id":"example-1-2","text":"french sample document number 2 for this supplied dataset.","actual":"french"},{"id":"example-2-0","text":"spanish sample document number 0 for this supplied dataset.","actual":"spanish"},{"id":"example-2-1","text":"spanish sample document number 1 for this supplied dataset.","actual":"spanish"},{"id":"example-2-2","text":"spanish sample document number 2 for this supplied dataset.","actual":"spanish"},{"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_1rH_sT9AGfD9ODbNaClZt","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 dataset of up to 200 labelled text records across English, French, Spanish, and Other language classes.","exampleAgentPrompt":"Can you analyze the label distribution of my language routing dataset? I have 200 labelled records with English, French, Spanish, and Other classes and I want to see how balanced the class proportions are.","exampleUseCases":[{"title":"Pre-training dataset balance audit","prompt":"Before I train my language classifier, can you check how balanced my labelled dataset is? I'll send you up to 200 text records tagged as English, French, Spanish, or Other and I want to see the count and proportion for each class."},{"title":"Detecting class imbalance in multilingual corpus","prompt":"I think my multilingual text dataset is heavily skewed toward English — can you compute the label distribution across English, French, Spanish, and Other categories for my 150 annotated records so I can confirm?"},{"title":"Evaluation data composition check","prompt":"I have a set of 80 labelled text samples I'm using for evaluating a language routing model. Can you give me a breakdown of how many records fall into each language class — English, French, Spanish, and Other — so I know if the eval set is representative?"}],"resultDescription":"Returns a bounded label distribution report covering the supplied labelled text records (up to 200), including per-class counts and proportions for English, French, Spanish, and Other language categories, enabling assessment of dataset balance and composition.","failureModes":["Fewer than 2 records submitted — minimum input not met","More than 200 records supplied — exceeds maxItems limit","Missing required fields (id, text, or actual) on any record — validation error","Invalid label value outside the allowed enum (english, french, spanish, other) — rejected","Empty text field on a record — may degrade distribution quality"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive ($0.01 USDC) computation of label class distribution for a small labelled multilingual text dataset (up to 200 records) across English, French, Spanish, and Other categories — particularly useful before training or evaluating a language routing or detection model. Prefer this over general-purpose analytics tools when you specifically need language-label-aware balance metrics with no model hosting or training involved.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:37:30.586Z","isFirstParty":false,"canonicalSlug":"language-routing-label-distribution-8e08e960"}