{"uid":"cap_Dv4_0EGQxAmxCikT32ZoQ","slug":"lead-stage-prediction-error-records-7f63f3f3","name":"Lead Stage Prediction Error Records","description":"Lead stage - Prediction error records: Prediction error records 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 prediction error records deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-lead-stage-errors?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_dRQ9-EZD3WmBDlytu88JK","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 per-record prediction error metrics for a naive-Bayes lead stage classifier across four sales pipeline stages (enquiry, qualified, negotiation, closed).","exampleAgentPrompt":"I have up to 200 labelled lead stage records — each with an ID, the original text, the actual stage (enquiry, qualified, negotiation, or closed), the predicted stage, and the four class probabilities — can you run them through the lead stage prediction error analysis and show me where the model is getting it wrong?","exampleUseCases":[{"title":"CRM model misclassification audit","prompt":"I've got 150 labelled CRM records where each one has an ID, the raw text, the true lead stage (enquiry, qualified, negotiation, or closed), what my model predicted, and the four probability scores — can you compute the prediction error records so I can see which leads are being misclassified and why?"},{"title":"Sales pipeline classifier evaluation","prompt":"We're evaluating our naive-Bayes lead stage classifier and I need per-record error diagnostics for 80 test samples — each has an ID, text snippet, actual stage, predicted stage, and four class probabilities. Run the prediction error records analysis on them."},{"title":"Qualify vs negotiation confusion diagnosis","prompt":"My lead stage model keeps confusing 'qualified' and 'negotiation' records — I have 60 labelled examples with IDs, texts, actual stages, predicted stages, and probability arrays. Can you run the prediction error records calculation so I can pinpoint which records are contributing most to that confusion?"}],"resultDescription":"A bounded set of prediction error records (up to 200 entries) detailing per-record classification errors for the lead stage classifier, including which records were mispredicted across the four stages (enquiry, qualified, negotiation, closed), derived from the supplied actual labels, predicted labels, and class probability arrays.","failureModes":["More than 200 records submitted — request will be rejected or truncated","Probability arrays with fewer or more than 4 values — schema validation error","Invalid stage enum value in actual or predicted fields — rejected with validation error","Malformed or missing required fields (id, text, actual, predicted, probabilities) — schema error","Empty records array — returns empty or trivial error output"],"whenToPreferThis":"Choose this endpoint when you need lightweight, per-record prediction error diagnostics for a four-class lead stage text classifier without requiring a hosted model or foundation model training. It is ideal for small to medium local datasets (up to 200 records), quick evaluation loops, and debugging naive-Bayes baselines on CRM/sales pipeline data. Prefer alternatives if you need full model training, cross-validation over large corpora, or error analysis for classification problems outside the four lead stages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:02.331Z","isFirstParty":false,"canonicalSlug":"lead-stage-prediction-error-records-7f63f3f3"}