{"uid":"cap_hEMZfc0Zx76wAC6Cj-MeD","slug":"lead-stage-confusion-matrix-e27b6932","name":"Lead Stage Confusion Matrix","description":"Lead stage - Confusion matrix: Confusion matrix 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 confusion matrix deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-lead-stage-confusion?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","required":["id","text","actual","predicted"],"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"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"enquiry sample document number 0 for this supplied dataset.","actual":"enquiry","predicted":"enquiry"},{"id":"example-0-1","text":"enquiry sample document number 1 for this supplied dataset.","actual":"enquiry","predicted":"enquiry"},{"id":"example-0-2","text":"enquiry sample document number 2 for this supplied dataset.","actual":"enquiry","predicted":"enquiry"},{"id":"example-1-0","text":"qualified sample document number 0 for this supplied dataset.","actual":"qualified","predicted":"qualified"},{"id":"example-1-1","text":"qualified sample document number 1 for this supplied dataset.","actual":"qualified","predicted":"qualified"},{"id":"example-1-2","text":"qualified sample document number 2 for this supplied dataset.","actual":"qualified","predicted":"qualified"},{"id":"example-2-0","text":"negotiation sample document number 0 for this supplied dataset.","actual":"negotiation","predicted":"negotiation"},{"id":"example-2-1","text":"negotiation sample document number 1 for this supplied dataset.","actual":"negotiation","predicted":"negotiation"},{"id":"example-2-2","text":"negotiation sample document number 2 for this supplied dataset.","actual":"negotiation","predicted":"negotiation"},{"id":"example-3-0","text":"closed sample document number 0 for this supplied dataset.","actual":"closed","predicted":"closed"},{"id":"example-3-1","text":"closed sample document number 1 for this supplied dataset.","actual":"closed","predicted":"closed"},{"id":"example-3-2","text":"closed sample document number 2 for this supplied dataset.","actual":"closed","predicted":"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_VWH5gTc5JtjuuDdJ-YQGn","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 a confusion matrix for a lead stage classifier across four stages (enquiry, qualified, negotiation, closed) from up to 200 labelled text records.","exampleAgentPrompt":"Here are 150 labelled lead records with their actual stages (enquiry, qualified, negotiation, or closed) and my model's predicted stages — can you compute a confusion matrix so I can see where the classifier is going wrong?","exampleUseCases":[{"title":"CRM classifier audit for sales team","prompt":"I've got 120 lead records where each one has the actual stage — enquiry, qualified, negotiation, or closed — and what our classifier predicted. Can you run a confusion matrix so I can show the sales ops team exactly which stage transitions the model keeps getting wrong?"},{"title":"Naive-Bayes baseline evaluation","prompt":"I'm testing a naive-Bayes lead stage model and have 80 labelled examples with both actual and predicted stage labels. Can you build a confusion matrix so I can see its accuracy across enquiry, qualified, negotiation, and closed stages?"},{"title":"Lead scoring model QA before deployment","prompt":"Before we push this lead scoring model to production, I want to sanity-check it against 200 test records I've labelled with actual and predicted lead stages. Can you generate a confusion matrix so I can spot any systematic misclassifications?"}],"resultDescription":"A confusion matrix covering the four lead stages (enquiry, qualified, negotiation, closed), showing counts of correct and incorrect predictions for each class pair, along with derived per-class and overall accuracy metrics.","failureModes":["More than 200 records submitted — batch size limit exceeded","Records missing required fields (id, text, actual, predicted) — validation error","Invalid label value outside the four allowed enums — rejected input","Empty records array — no computation possible"],"whenToPreferThis":"Choose this endpoint when you need a structured confusion matrix specifically for a four-class lead stage classifier (enquiry, qualified, negotiation, closed) evaluated on up to 200 labelled text records, and you want a lightweight, bounded computation without needing a hosted model or foundation model training pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:35.739Z","isFirstParty":false,"canonicalSlug":"lead-stage-confusion-matrix-e27b6932"}