{"uid":"cap_UGSt1HDlBG0NmCpcPezpi","slug":"task-type-per-label-precision-and-recall-aa41ed99","name":"Task Type Per-Label Precision and Recall","description":"Task type - Per-label precision and recall: Per-label precision and recall 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 per-label precision and recall deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-per-label?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_5y72PTA6YXx448m933c7C","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-label precision and recall metrics for a task-type classifier (research, writing, analysis, implementation) given up to 200 labelled text records with actual and predicted labels.","exampleAgentPrompt":"Evaluate my task-type classifier on these 50 labelled records — each has an ID, the text, and both the actual and predicted task type (research, writing, analysis, or implementation) — and give me per-label precision and recall for each category.","exampleUseCases":[{"title":"Diagnosing classifier confusion between labels","prompt":"I have 120 labelled records where my model predicts whether each document is research, writing, analysis, or implementation. Can you compute per-label precision and recall so I can see which task types my classifier is getting confused on?"},{"title":"Benchmarking a new task-type model version","prompt":"I just retrained my task-type classifier and want to compare how it performs on each label. Here are 180 test records with the actual and predicted labels — give me precision and recall broken down by research, writing, analysis, and implementation."},{"title":"Validating task-type labels before production deploy","prompt":"Before I push this classifier to production, can you run a per-label precision and recall check on these 75 labelled task-type records to make sure none of the four categories — research, writing, analysis, implementation — are significantly underperforming?"}],"resultDescription":"A per-label breakdown of precision and recall for each task type (research, writing, analysis, implementation), computed from the supplied actual versus predicted label pairs across up to 200 records. Each label receives its own precision and recall score, enabling granular diagnosis of classifier performance by category.","failureModes":["More than 200 records supplied — input is capped at 200 and excess may be rejected or truncated","Missing required fields (id, text, actual, predicted) in any record causes validation failure","Invalid label values outside the allowed enum (research, writing, analysis, implementation) cause schema rejection","Empty records array returns no meaningful metrics","Highly imbalanced label distribution may yield undefined precision or recall for rare labels"],"whenToPreferThis":"Choose this endpoint when you need per-label (per-class) precision and recall metrics for a task-type classifier operating over the four fixed categories: research, writing, analysis, implementation. It is ideal for lightweight, local evaluation of small to medium labelled datasets (up to 200 records) without needing a hosted model or foundation-model infrastructure. Prefer it over generic ML evaluation APIs when your labels are specifically these four task types and you need a cheap ($0.01 USDC), bounded, deterministic computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:57.947Z","isFirstParty":false,"canonicalSlug":"task-type-per-label-precision-and-recall-aa41ed99"}