{"uid":"cap_3WW-19QYSoojzRwzVACMM","slug":"knowledge-topic-label-distribution-39967629","name":"Knowledge Topic Label Distribution","description":"Knowledge topic - Label distribution: Label distribution for Knowledge topic. 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-knowledge-topic-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":["setup","usage","troubleshooting","reference"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"setup sample document number 0 for this supplied dataset.","actual":"setup"},{"id":"example-0-1","text":"setup sample document number 1 for this supplied dataset.","actual":"setup"},{"id":"example-0-2","text":"setup sample document number 2 for this supplied dataset.","actual":"setup"},{"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":"troubleshooting sample document number 0 for this supplied dataset.","actual":"troubleshooting"},{"id":"example-2-1","text":"troubleshooting sample document number 1 for this supplied dataset.","actual":"troubleshooting"},{"id":"example-2-2","text":"troubleshooting sample document number 2 for this supplied dataset.","actual":"troubleshooting"},{"id":"example-3-0","text":"reference sample document number 0 for this supplied dataset.","actual":"reference"},{"id":"example-3-1","text":"reference sample document number 1 for this supplied dataset.","actual":"reference"},{"id":"example-3-2","text":"reference sample document number 2 for this supplied dataset.","actual":"reference"}],"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_V_9qAhEd3KdHuX7MwP1tz","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":"Analyzes a labeled dataset of knowledge-base text records and returns the distribution of labels (setup, usage, troubleshooting, reference) across up to 200 documents.","exampleAgentPrompt":"Can you analyze the label distribution for my knowledge base dataset? I have 12 labeled articles — 4 tagged 'setup', 3 'usage', 3 'troubleshooting', and 2 'reference' — and I want to see how balanced they are across those four categories.","exampleUseCases":[{"title":"Pre-training class balance check","prompt":"I have 80 labeled knowledge base articles I'm about to use to train a classifier — can you check how the labels are distributed across setup, usage, troubleshooting, and reference so I can see if the dataset is imbalanced before I start training?"},{"title":"Documentation audit for content teams","prompt":"We have about 150 tagged support documents and I want to know what percentage fall into each of setup, usage, troubleshooting, and reference — can you give me a breakdown so we know which content areas we're underrepresenting?"},{"title":"Baseline evaluation for ML pipeline","prompt":"Can you compute the label distribution for this batch of 60 labeled text records across setup, usage, troubleshooting, and reference categories? I need to understand the class balance to set up a naive-Bayes baseline for our knowledge topic classifier."}],"resultDescription":"Returns a label distribution report showing the count and proportion of each of the four knowledge topic labels (setup, usage, troubleshooting, reference) across the submitted records, enabling assessment of class balance for up to 200 labeled text documents.","failureModes":["Fewer than 2 records submitted — returns validation error","More than 200 records submitted — returns a limit exceeded error","Record text exceeds 1000 characters — field truncation or rejection","Invalid or missing 'actual' label enum value — schema validation error","Malformed record structure (missing id, text, or actual fields) — request rejected"],"whenToPreferThis":"Choose this endpoint when you need a fast, lightweight label distribution analysis for a knowledge-base text dataset with labels in the set {setup, usage, troubleshooting, reference}. It is ideal for pre-training class balance checks, documentation audits, and baseline evaluations without requiring a hosted model. Prefer it over general-purpose ML APIs when you specifically work with knowledge topic categories and want a bounded, low-cost ($0.01 USDC) per-call deliverable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:59.170Z","isFirstParty":false,"canonicalSlug":"knowledge-topic-label-distribution-39967629"}