{"uid":"cap_l3xxysu4MlVc3pnHWQPmm","slug":"lead-stage-confidence-calibration-bins-304eba95","name":"Lead Stage Confidence Calibration Bins","description":"Lead stage - Confidence calibration bins: Confidence calibration bins 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 confidence calibration bins deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-lead-stage-calibration?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","required":["id","text","actual","predicted","probabilities"],"properties":{"id":{"type":"string","default":"","maxLength":80,"minLength":1},"text":{"type":"string","default":"","maxLength":1000},"actual":{"enum":["enquiry","qualified","negotiation","closed"],"type":"string"},"predicted":{"enum":["enquiry","qualified","negotiation","closed"],"type":"string"},"probabilities":{"type":"array","items":{"type":"number","default":0,"maximum":1,"minimum":0},"default":[],"maxItems":4,"minItems":4}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"enquiry sample document number 0 for this supplied dataset.","actual":"enquiry","predicted":"enquiry","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-0-1","text":"enquiry sample document number 1 for this supplied dataset.","actual":"enquiry","predicted":"enquiry","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-0-2","text":"enquiry sample document number 2 for this supplied dataset.","actual":"enquiry","predicted":"enquiry","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-1-0","text":"qualified sample document number 0 for this supplied dataset.","actual":"qualified","predicted":"qualified","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-1-1","text":"qualified sample document number 1 for this supplied dataset.","actual":"qualified","predicted":"qualified","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-1-2","text":"qualified sample document number 2 for this supplied dataset.","actual":"qualified","predicted":"qualified","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-2-0","text":"negotiation sample document number 0 for this supplied dataset.","actual":"negotiation","predicted":"negotiation","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-2-1","text":"negotiation sample document number 1 for this supplied dataset.","actual":"negotiation","predicted":"negotiation","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-2-2","text":"negotiation sample document number 2 for this supplied dataset.","actual":"negotiation","predicted":"negotiation","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-3-0","text":"closed sample document number 0 for this supplied dataset.","actual":"closed","predicted":"closed","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8]},{"id":"example-3-1","text":"closed sample document number 1 for this supplied dataset.","actual":"closed","predicted":"closed","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8]},{"id":"example-3-2","text":"closed sample document number 2 for this supplied dataset.","actual":"closed","predicted":"closed","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8]}],"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_u326mZMQxFYQDXaMcc_da","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 confidence calibration bins for a multi-class lead stage classifier (enquiry, qualified, negotiation, closed) from up to 200 labelled records with predicted probabilities.","exampleAgentPrompt":"Run confidence calibration binning on these 50 lead stage records — each has the actual stage (enquiry, qualified, negotiation, or closed), the predicted stage, and four class probabilities. I want to see how well-calibrated the model's confidence scores are across each bin.","exampleUseCases":[{"title":"CRM model calibration audit","prompt":"I have 120 labelled leads from our CRM with actual stages (enquiry, qualified, negotiation, closed), the model's predicted stages, and the four class probability scores for each. Can you compute confidence calibration bins so I can see where the model is overconfident or underconfident?"},{"title":"Sales pipeline classifier QA","prompt":"Before we ship this lead scoring model to production, can you run calibration bin analysis on these 80 validation records? Each record has the true lead stage, predicted stage, and a 4-element probability array summing to 1."},{"title":"Comparing two model versions","prompt":"I want to compare calibration quality between our old and new lead stage models. Here are 150 records with actual labels, predicted labels, and predicted probabilities for the new model — compute the calibration bins so I can benchmark it."}],"resultDescription":"Returns binned confidence calibration statistics for the supplied lead stage records, including accuracy and average confidence per bin across the four classes (enquiry, qualified, negotiation, closed), enabling reliability diagram construction and ECE/calibration error assessment.","failureModes":["Records array empty or missing — validation error returned","Probabilities array does not have exactly 4 elements per record — schema rejection","Probability values outside [0,1] range — validation failure","More than 200 records supplied — request rejected or truncated","Actual or predicted labels outside allowed enum values — schema error","Malformed JSON body — HTTP 400 response"],"whenToPreferThis":"Choose this endpoint when you have a trained multi-class lead stage classifier producing probability outputs and need to evaluate how well-calibrated those probabilities are across the four pipeline stages, without requiring a hosted model or cloud training infrastructure. Ideal for lightweight, local-style calibration analysis at very low cost ($0.01 per call) on datasets up to 200 records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:32.452Z","isFirstParty":false,"canonicalSlug":"lead-stage-confidence-calibration-bins-304eba95"}