{"uid":"cap_y-g6J1nLHfbstO2yxQl5O","slug":"product-category-confidence-calibration-bins-a47c1e49","name":"Product Category Confidence Calibration Bins","description":"Product category - Confidence calibration bins: Confidence calibration bins for Product category. 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-product-category-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":["apparel","home","electronics","other"],"type":"string"},"predicted":{"enum":["apparel","home","electronics","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":"apparel sample document number 0 for this supplied dataset.","actual":"apparel","predicted":"apparel","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-0-1","text":"apparel sample document number 1 for this supplied dataset.","actual":"apparel","predicted":"apparel","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-0-2","text":"apparel sample document number 2 for this supplied dataset.","actual":"apparel","predicted":"apparel","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667]},{"id":"example-1-0","text":"home sample document number 0 for this supplied dataset.","actual":"home","predicted":"home","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-1-1","text":"home sample document number 1 for this supplied dataset.","actual":"home","predicted":"home","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-1-2","text":"home sample document number 2 for this supplied dataset.","actual":"home","predicted":"home","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667]},{"id":"example-2-0","text":"electronics sample document number 0 for this supplied dataset.","actual":"electronics","predicted":"electronics","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-2-1","text":"electronics sample document number 1 for this supplied dataset.","actual":"electronics","predicted":"electronics","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667]},{"id":"example-2-2","text":"electronics sample document number 2 for this supplied dataset.","actual":"electronics","predicted":"electronics","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_n_BoNufDv-g1wSyhKbzEp","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 product category classifier (apparel, home, electronics, other) given up to 200 labelled prediction records with class probabilities.","exampleAgentPrompt":"Compute confidence calibration bins for my product category classifier — I have 50 labelled records where each has the text, the actual category (apparel, home, electronics, or other), the predicted category, and a 4-element probability array. Can you run the calibration analysis on those?","exampleUseCases":[{"title":"Audit overconfident electronics classifier","prompt":"I've got 120 labelled predictions from my product classifier — texts tagged as apparel, home, electronics, or other — along with the predicted label and 4-class probability scores for each. Can you compute the confidence calibration bins so I can see where the model is overconfident?"},{"title":"Validate model before production deployment","prompt":"Before I ship this product category model to production, I need to check its calibration. I have 180 records with actual labels, predicted labels, and probability vectors for the four classes. Run the calibration bin analysis and tell me how well the confidence scores match real accuracy."},{"title":"Compare calibration across dataset slices","prompt":"I have two batches of 90 labelled product records each — one batch is all apparel items, the other is mixed home and electronics. Can you run the confidence calibration bin computation on each batch so I can compare how calibrated the model is across those slices?"}],"resultDescription":"Returns confidence calibration bins for the product category classifier — bin boundaries, mean predicted probability per bin, actual accuracy per bin, and sample counts — enabling reliability diagram construction and identification of over- or under-confidence regions.","failureModes":["More than 200 records supplied — request rejected or truncated","Probability arrays not summing to 1 or containing values outside [0,1] — validation error","Fewer than 4 probability values per record — schema validation failure","Unknown class label outside enum (apparel, home, electronics, other) — rejected","Empty records array — insufficient data error"],"whenToPreferThis":"Choose this endpoint when you need calibration bin statistics specifically for a 4-class product category classifier (apparel, home, electronics, other) and have up to 200 labelled prediction records with probability vectors. It is a lightweight, pay-per-call option suitable for spot-checking model calibration without setting up local evaluation infrastructure or training a new model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:54:08.204Z","isFirstParty":false,"canonicalSlug":"product-category-confidence-calibration-bins-a47c1e49"}