{"uid":"cap_QKFTBEbu1m4UGZzIBETDg","slug":"task-type-confusion-matrix-945dba96","name":"Task Type Confusion Matrix","description":"Task type - Confusion matrix: Confusion matrix for Task type. 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-task-type-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":["research","writing","analysis","implementation"],"type":"string"},"predicted":{"enum":["research","writing","analysis","implementation"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"research sample document number 0 for this supplied dataset.","actual":"research","predicted":"research"},{"id":"example-0-1","text":"research sample document number 1 for this supplied dataset.","actual":"research","predicted":"research"},{"id":"example-0-2","text":"research sample document number 2 for this supplied dataset.","actual":"research","predicted":"research"},{"id":"example-1-0","text":"writing sample document number 0 for this supplied dataset.","actual":"writing","predicted":"writing"},{"id":"example-1-1","text":"writing sample document number 1 for this supplied dataset.","actual":"writing","predicted":"writing"},{"id":"example-1-2","text":"writing sample document number 2 for this supplied dataset.","actual":"writing","predicted":"writing"},{"id":"example-2-0","text":"analysis sample document number 0 for this supplied dataset.","actual":"analysis","predicted":"analysis"},{"id":"example-2-1","text":"analysis sample document number 1 for this supplied dataset.","actual":"analysis","predicted":"analysis"},{"id":"example-2-2","text":"analysis sample document number 2 for this supplied dataset.","actual":"analysis","predicted":"analysis"},{"id":"example-3-0","text":"implementation sample document number 0 for this supplied dataset.","actual":"implementation","predicted":"implementation"},{"id":"example-3-1","text":"implementation sample document number 1 for this supplied dataset.","actual":"implementation","predicted":"implementation"},{"id":"example-3-2","text":"implementation sample document number 2 for this supplied dataset.","actual":"implementation","predicted":"implementation"}],"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_7vxTZovHSmaXzb0cWizSq","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 4-class task-type text classifier (research, writing, analysis, implementation) given up to 200 labelled records with actual and predicted labels.","exampleAgentPrompt":"Generate a confusion matrix for my task-type classifier — I have 120 labelled records where each one has an id, the text, the actual label (research, writing, analysis, or implementation), and the predicted label. Can you run the confusion matrix calculation on them?","exampleUseCases":[{"title":"Classifier error analysis for task routing","prompt":"I've built a model that classifies support tickets into research, writing, analysis, or implementation tasks, and I want to see exactly where it's getting confused. Here are 150 labelled examples with actual and predicted labels — can you compute a confusion matrix so I can see which pairs of categories it mixes up most?"},{"title":"Baseline evaluation before model retraining","prompt":"Before I retrain my task-type NLP model, I want a quick confusion matrix snapshot on my current 200-record validation set. Each record has an id, the text, the ground-truth task type (research, writing, analysis, or implementation), and what the model predicted. Run the confusion matrix for me."},{"title":"Comparing two annotators on task type labels","prompt":"I have 80 documents that two annotators both labelled with task types — research, writing, analysis, or implementation. I'd like to treat one annotator's labels as 'actual' and the other's as 'predicted' and get a confusion matrix to measure where they disagree."}],"resultDescription":"A bounded confusion matrix deliverable showing the counts of true/false positives and negatives for each of the four task-type classes (research, writing, analysis, implementation), enabling per-class and aggregate accuracy assessment across up to 200 supplied records.","failureModes":["More than 200 records supplied — request may be rejected or truncated","Invalid or missing actual/predicted label values outside the allowed enum (research, writing, analysis, implementation)","Missing required fields (id, actual, predicted) on one or more records cause validation errors","Empty records array returns a degenerate or error response","Payment of 0.01 USDC not completed results in 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC), bounded confusion matrix specifically for the four task-type categories (research, writing, analysis, implementation) on a small dataset (up to 200 records). It is ideal for lightweight model evaluation, label agreement studies, or quick diagnostic checks without requiring a hosted ML model or foundation-model infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:51.002Z","isFirstParty":false,"canonicalSlug":"task-type-confusion-matrix-945dba96"}