{"uid":"cap_EFUbMQMgj4OjvSUHaBubV","slug":"task-type-classifier-macro-micro-weighted-scores-4e0977a2","name":"Task Type Classifier — Macro, Micro & Weighted Scores","description":"Task type - Macro micro and weighted scores: Macro micro and weighted scores 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 macro micro and weighted scores deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-aggregate-scores?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_XQ3QjrnE9_GL_H342F2Cx","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 macro, micro, and weighted precision/recall/F1 aggregate scores for a task-type text classifier using up to 200 labelled records with actual and predicted labels.","exampleAgentPrompt":"Evaluate my task-type classifier — here are 150 labelled records with actual labels (research, writing, analysis, implementation) and my model's predicted labels; give me the macro, micro, and weighted F1 scores.","exampleUseCases":[{"title":"Benchmarking a new task classifier","prompt":"I just trained a naive Bayes model to classify tasks into research, writing, analysis, and implementation — can you run my 120 test records through the scorer and give me the macro, micro, and weighted F1 results?"},{"title":"Comparing two model predictions","prompt":"I have 200 labelled task-type records and predictions from two different classifiers; can you compute the macro, micro, and weighted scores for prediction set A so I can compare it to set B?"},{"title":"Validating classifier before production","prompt":"Before I deploy my task-type categorisation model, can you evaluate it on these 80 held-out labelled records — actual and predicted — and return the macro, micro, and weighted precision, recall, and F1 scores?"}],"resultDescription":"Returns aggregate classification evaluation metrics — macro, micro, and weighted precision, recall, and F1 scores — computed over up to 200 supplied labelled text records with actual and predicted task-type labels (research, writing, analysis, implementation).","failureModes":["More than 200 records supplied — batch will be rejected or truncated","Missing required fields (id, text, actual, predicted) cause validation errors","Invalid enum values for actual or predicted labels return schema errors","Empty records array returns no meaningful scores","Imbalanced classes may cause micro/macro divergence that looks surprising but is correct"],"whenToPreferThis":"Choose this endpoint when you need fast, low-cost aggregate classifier evaluation (macro, micro, weighted F1) for a four-class task-type text classifier (research, writing, analysis, implementation) without needing per-class confusion matrices or foundation-model inference. Ideal for iterative benchmarking of small local models on datasets up to 200 records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:16:44.437Z","isFirstParty":false,"canonicalSlug":"task-type-classifier-macro-micro-weighted-scores-4e0977a2"}