{"uid":"cap__jZDq_C2lUxewMACiMIay","slug":"knowledge-topic-confusion-matrix-ba280009","name":"Knowledge Topic Confusion Matrix","description":"Knowledge topic - Confusion matrix: Confusion matrix for Knowledge topic. 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-knowledge-topic-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":["setup","usage","troubleshooting","reference"],"type":"string"},"predicted":{"enum":["setup","usage","troubleshooting","reference"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"setup sample document number 0 for this supplied dataset.","actual":"setup","predicted":"setup"},{"id":"example-0-1","text":"setup sample document number 1 for this supplied dataset.","actual":"setup","predicted":"setup"},{"id":"example-0-2","text":"setup sample document number 2 for this supplied dataset.","actual":"setup","predicted":"setup"},{"id":"example-1-0","text":"usage sample document number 0 for this supplied dataset.","actual":"usage","predicted":"usage"},{"id":"example-1-1","text":"usage sample document number 1 for this supplied dataset.","actual":"usage","predicted":"usage"},{"id":"example-1-2","text":"usage sample document number 2 for this supplied dataset.","actual":"usage","predicted":"usage"},{"id":"example-2-0","text":"troubleshooting sample document number 0 for this supplied dataset.","actual":"troubleshooting","predicted":"troubleshooting"},{"id":"example-2-1","text":"troubleshooting sample document number 1 for this supplied dataset.","actual":"troubleshooting","predicted":"troubleshooting"},{"id":"example-2-2","text":"troubleshooting sample document number 2 for this supplied dataset.","actual":"troubleshooting","predicted":"troubleshooting"},{"id":"example-3-0","text":"reference sample document number 0 for this supplied dataset.","actual":"reference","predicted":"reference"},{"id":"example-3-1","text":"reference sample document number 1 for this supplied dataset.","actual":"reference","predicted":"reference"},{"id":"example-3-2","text":"reference sample document number 2 for this supplied dataset.","actual":"reference","predicted":"reference"}],"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_fzAwlVFgD_eCCI4yuxPcS","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 knowledge-topic text classification (setup/usage/troubleshooting/reference) from up to 200 labelled records with actual and predicted labels.","exampleAgentPrompt":"I have 150 labelled knowledge-base articles where each one has an actual category (setup, usage, troubleshooting, or reference) and my classifier's predicted category — can you compute a confusion matrix so I can see where it's going wrong?","exampleUseCases":[{"title":"Evaluate documentation classifier accuracy","prompt":"I've got 120 labelled docs — each has an actual topic (setup, usage, troubleshooting, or reference) and what my classifier predicted. Can you build a confusion matrix so I can see which categories it's mixing up?"},{"title":"Audit NLP model before production release","prompt":"Before I ship my knowledge-base topic model, I need a confusion matrix from these 200 test records with their actual and predicted labels — setup, usage, troubleshooting, or reference — so I can spot any systematic errors."},{"title":"Compare two classifier outputs on same dataset","prompt":"I ran two different classifiers on 80 articles and saved the predictions. Can you generate a confusion matrix for the first classifier's predictions against the actual labels so I can benchmark it?"}],"resultDescription":"A bounded confusion matrix deliverable showing how predicted knowledge-topic labels (setup, usage, troubleshooting, reference) align with actual labels across the supplied records, enabling identification of misclassification patterns between topic categories.","failureModes":["Exceeds 200 record limit — request rejected","Missing required fields (id, text, actual, predicted) — validation error","Invalid enum value for actual or predicted label — schema error","Empty records array — no matrix computable","Payment failure — endpoint returns 402 without processing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.01) confusion matrix evaluation for a 4-class knowledge-topic text classifier (setup/usage/troubleshooting/reference) without needing to host a model or use a foundation model. Ideal for offline batch evaluation of up to 200 pre-labelled records where you already have both actual and predicted labels.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:20.122Z","isFirstParty":false,"canonicalSlug":"knowledge-topic-confusion-matrix-ba280009"}