{"uid":"cap_HNCm-ONi3n7tdsycyQMcM","slug":"lead-stage-label-distribution-e9b7d153","name":"Lead Stage Label Distribution","description":"Lead stage - Label distribution: Label distribution for Lead stage. 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-lead-stage-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":["enquiry","qualified","negotiation","closed"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"enquiry sample document number 0 for this supplied dataset.","actual":"enquiry"},{"id":"example-0-1","text":"enquiry sample document number 1 for this supplied dataset.","actual":"enquiry"},{"id":"example-0-2","text":"enquiry sample document number 2 for this supplied dataset.","actual":"enquiry"},{"id":"example-1-0","text":"qualified sample document number 0 for this supplied dataset.","actual":"qualified"},{"id":"example-1-1","text":"qualified sample document number 1 for this supplied dataset.","actual":"qualified"},{"id":"example-1-2","text":"qualified sample document number 2 for this supplied dataset.","actual":"qualified"},{"id":"example-2-0","text":"negotiation sample document number 0 for this supplied dataset.","actual":"negotiation"},{"id":"example-2-1","text":"negotiation sample document number 1 for this supplied dataset.","actual":"negotiation"},{"id":"example-2-2","text":"negotiation sample document number 2 for this supplied dataset.","actual":"negotiation"},{"id":"example-3-0","text":"closed sample document number 0 for this supplied dataset.","actual":"closed"},{"id":"example-3-1","text":"closed sample document number 1 for this supplied dataset.","actual":"closed"},{"id":"example-3-2","text":"closed sample document number 2 for this supplied dataset.","actual":"closed"}],"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_LTLdlZ7oJ_JAhY7IunroL","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 lead-stage text records tagged as enquiry, qualified, negotiation, or closed.","exampleAgentPrompt":"Can you check the label balance of my lead stage dataset? I have about 80 records labelled as enquiry, qualified, negotiation, or closed — here they are — and I want to see if the distribution is skewed before I train a classifier.","exampleUseCases":[{"title":"Pre-training class imbalance check","prompt":"I'm about to train a naive Bayes classifier on my CRM leads. Can you analyze these 150 labelled records — tagged enquiry, qualified, negotiation, or closed — and tell me how many I have per stage so I can spot any imbalance?"},{"title":"Sales pipeline data audit","prompt":"We just exported our CRM leads for the quarter. Can you run a label distribution check on these 120 records across the four stages — enquiry, qualified, negotiation, closed — so I can see if any stage is underrepresented?"},{"title":"Evaluation dataset quality review","prompt":"Before we benchmark our lead scoring model, can you compute the stage label distribution for this set of 60 test records? I need to know the breakdown between enquiry, qualified, negotiation, and closed to make sure the eval set is fair."}],"resultDescription":"A bounded deliverable showing the count and proportion of records for each of the four lead stages (enquiry, qualified, negotiation, closed) across the supplied dataset of up to 200 labelled text records, highlighting class balance or skew.","failureModes":["Fewer than 2 records submitted — minimum item count not met","More than 200 records submitted — exceeds maximum item count","Invalid or missing 'actual' enum value (must be one of: enquiry, qualified, negotiation, closed)","Record text exceeds 1000 character limit","Missing required fields (id, text, actual) on one or more records","Payment of 0.01 USDC not fulfilled — x402 payment required"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap label distribution snapshot for a small lead-stage dataset (up to 200 records) without standing up your own analytics pipeline. It is ideal for pre-training data audits, evaluation set validation, or ad-hoc class balance checks on CRM exports — especially when you want a self-contained deliverable at minimal cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:19.966Z","isFirstParty":false,"canonicalSlug":"lead-stage-label-distribution-e9b7d153"}