{"uid":"cap_hXavfYMZfKXGX0DB0t4lV","slug":"commerce-intent-confidence-calibration-bins-d3661a19","name":"Commerce Intent Confidence Calibration Bins","description":"Commerce intent - Confidence calibration bins: Confidence calibration bins for Commerce intent. 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-commerce-intent-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":["browse","purchase","return","other"],"type":"string"},"predicted":{"enum":["browse","purchase","return","other"],"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":"browse sample document number 0 for this supplied dataset.","actual":"browse","predicted":"browse","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-0-1","text":"browse sample document number 1 for this supplied dataset.","actual":"browse","predicted":"browse","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-0-2","text":"browse sample document number 2 for this supplied dataset.","actual":"browse","predicted":"browse","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-1-0","text":"purchase sample document number 0 for this supplied dataset.","actual":"purchase","predicted":"purchase","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-1-1","text":"purchase sample document number 1 for this supplied dataset.","actual":"purchase","predicted":"purchase","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-1-2","text":"purchase sample document number 2 for this supplied dataset.","actual":"purchase","predicted":"purchase","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-2-0","text":"return sample document number 0 for this supplied dataset.","actual":"return","predicted":"return","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-2-1","text":"return sample document number 1 for this supplied dataset.","actual":"return","predicted":"return","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-2-2","text":"return sample document number 2 for this supplied dataset.","actual":"return","predicted":"return","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-3-0","text":"other sample document number 0 for this supplied dataset.","actual":"other","predicted":"other","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8]},{"id":"example-3-1","text":"other sample document number 1 for this supplied dataset.","actual":"other","predicted":"other","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8]},{"id":"example-3-2","text":"other sample document number 2 for this supplied dataset.","actual":"other","predicted":"other","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_OBl_aYlip5YHxpvXHhkKn","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 commerce intent classifier using up to 200 labelled records with predicted probabilities and actual labels.","exampleAgentPrompt":"I have 150 labelled records from my commerce intent classifier — each one has the actual label (browse, purchase, return, or other), the predicted label, and the four class probabilities. Can you run confidence calibration bins on them so I can see how well my model's probability scores align with real accuracy?","exampleUseCases":[{"title":"Diagnosing overconfident purchase predictions","prompt":"My purchase intent model always predicts high probabilities but seems to get it wrong a lot. I have 120 labelled examples with actual labels, predicted labels, and the four class probabilities for each. Can you compute confidence calibration bins so I can see where the model is overconfident?"},{"title":"Pre-launch classifier reliability check","prompt":"Before we ship our new browse-vs-return intent classifier, I want to verify its probability outputs are trustworthy. I've got 200 records with actual intents, predicted intents, and probability arrays — run calibration bins on them and tell me how well-calibrated it is."},{"title":"Comparing calibration across intent classes","prompt":"I need to understand whether our commerce intent model is better calibrated for 'browse' versus 'other' intents. Here are 80 labelled records with the actual class, predicted class, and all four probability scores — can you produce the calibration bins breakdown for me?"}],"resultDescription":"Returns confidence calibration bins that group predictions by probability range, showing how often the model's confidence matches actual accuracy — enabling reliability diagram construction, expected calibration error estimation, and detection of over- or under-confidence in the commerce intent classifier.","failureModes":["More than 200 records submitted — exceeds the maximum batch size","Missing required fields (id, text, actual, predicted, probabilities) in any record","Probability arrays not summing to approximately 1.0 or containing values outside [0,1]","Probability array length not exactly 4","Invalid enum values for actual or predicted fields (must be browse, purchase, return, or other)","Empty records array returns no calibration output","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Choose this endpoint when you need to evaluate how well-calibrated the probability outputs of a commerce intent classifier are, specifically for the four-class schema (browse, purchase, return, other). It is best used with up to 200 labelled examples and is ideal for lightweight, local-style calibration analysis without requiring a hosted model or foundation model. Prefer it over general ML evaluation APIs when you specifically need binned confidence calibration output for commerce intent data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:36.483Z","isFirstParty":false,"canonicalSlug":"commerce-intent-confidence-calibration-bins-d3661a19"}