{"uid":"cap_QFuNKtxxBhYMUHfo-gKmm","slug":"lead-stage-multiclass-log-loss-calculator-6141486f","name":"Lead Stage Multiclass Log Loss Calculator","description":"Lead stage - Multiclass log loss: Multiclass log loss 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 multiclass log loss deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-lead-stage-log-loss?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_uL0y7R3hVK2yul420CNXR","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 multiclass log loss for lead stage classification models across up to 200 labelled text records with enquiry/qualified/negotiation/closed categories.","exampleAgentPrompt":"Calculate the multiclass log loss for my lead stage classifier — I have 50 labelled records with actual stages (enquiry, qualified, negotiation, or closed), my model's predicted stage, and the four class probabilities for each record.","exampleUseCases":[{"title":"CRM classifier quality check","prompt":"I've trained a model to predict which sales stage a lead is in — enquiry, qualified, negotiation, or closed — and I want to know its log loss on my 80 test records. Each record has the actual stage, what the model predicted, and the four class probabilities. Can you compute that for me?"},{"title":"Sales funnel model benchmarking","prompt":"Compare the log loss of my new lead stage model against last month's baseline — here are 120 labelled leads with actual stages and my model's predicted probabilities across all four classes: enquiry, qualified, negotiation, and closed."},{"title":"Probability calibration assessment","prompt":"My lead scoring model outputs probabilities for each pipeline stage, but I'm not sure how well-calibrated they are. Can you compute the multiclass log loss on these 200 labelled records so I can see how much the probability estimates diverge from reality?"}],"resultDescription":"Returns a bounded multiclass log loss value for the supplied labelled dataset, quantifying how well the model's predicted probabilities align with actual lead stages (enquiry, qualified, negotiation, closed). Lower values indicate better probability calibration.","failureModes":["Probabilities array does not sum to 1.0 per record — invalid input","More than 200 records supplied — exceeds batch limit","Fewer than 4 probability values per record — schema violation","Invalid stage label outside the four allowed enums — rejected","Empty records array — no computation possible"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive log loss evaluation for a fixed four-class lead stage classifier (enquiry, qualified, negotiation, closed) on small to medium batches up to 200 records, without needing hosted model training or foundation model access. Ideal for lightweight CRM model benchmarking at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:37.375Z","isFirstParty":false,"canonicalSlug":"lead-stage-multiclass-log-loss-calculator-6141486f"}