{"uid":"cap_ZZ3riATbdKJ353qOLbDZg","slug":"commerce-intent-classifier-macro-micro-weighted-evaluation-scores-0b1ccce6","name":"Commerce Intent Classifier - Macro, Micro & Weighted Evaluation Scores","description":"Commerce intent - Macro micro and weighted scores: Macro micro and weighted scores for Commerce intent. 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-commerce-intent-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":["browse","purchase","return","other"],"type":"string"},"predicted":{"enum":["browse","purchase","return","other"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"browse sample document number 0 for this supplied dataset.","actual":"browse","predicted":"browse"},{"id":"example-0-1","text":"browse sample document number 1 for this supplied dataset.","actual":"browse","predicted":"browse"},{"id":"example-0-2","text":"browse sample document number 2 for this supplied dataset.","actual":"browse","predicted":"browse"},{"id":"example-1-0","text":"purchase sample document number 0 for this supplied dataset.","actual":"purchase","predicted":"purchase"},{"id":"example-1-1","text":"purchase sample document number 1 for this supplied dataset.","actual":"purchase","predicted":"purchase"},{"id":"example-1-2","text":"purchase sample document number 2 for this supplied dataset.","actual":"purchase","predicted":"purchase"},{"id":"example-2-0","text":"return sample document number 0 for this supplied dataset.","actual":"return","predicted":"return"},{"id":"example-2-1","text":"return sample document number 1 for this supplied dataset.","actual":"return","predicted":"return"},{"id":"example-2-2","text":"return sample document number 2 for this supplied dataset.","actual":"return","predicted":"return"},{"id":"example-3-0","text":"other sample document number 0 for this supplied dataset.","actual":"other","predicted":"other"},{"id":"example-3-1","text":"other sample document number 1 for this supplied dataset.","actual":"other","predicted":"other"},{"id":"example-3-2","text":"other sample document number 2 for this supplied dataset.","actual":"other","predicted":"other"}],"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_Pe29SMzYlHpIv9vbRfzaf","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 scores for a set of commerce intent classification predictions (browse, purchase, return, other) against ground-truth labels.","exampleAgentPrompt":"Evaluate my commerce intent classifier — I have 50 labelled records where each has the actual label (browse, purchase, return, or other) and my model's predicted label, and I need the macro, micro, and weighted F1 scores back.","exampleUseCases":[{"title":"Benchmarking a new intent classifier","prompt":"I just trained a naive Bayes classifier on shopping intent and I have 120 records with actual labels and predictions — can you compute the macro, micro, and weighted F1 scores so I can see how well it's performing across browse, purchase, return, and other categories?"},{"title":"Comparing two model versions","prompt":"I have 80 labelled commerce intent records with predictions from my v2 model — can you run the macro, micro, and weighted scoring so I can compare it against my v1 baseline?"},{"title":"Diagnosing class imbalance impact","prompt":"My dataset has way more 'browse' records than 'purchase' or 'return' — can you compute the macro and weighted F1 scores for my 60 labelled predictions so I can see how much the imbalance is hurting my overall score?"}],"resultDescription":"Returns macro, micro, and weighted aggregate evaluation scores (precision, recall, F1) computed across all supplied labelled records against the four commerce intent classes: browse, purchase, return, and other.","failureModes":["More than 200 records supplied — request rejected or truncated","Missing required fields (id, text, actual, predicted) on any record — validation error","Invalid enum values for actual or predicted labels — schema rejection","Empty records array — no scores computed","Network timeout or payment failure via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap ($0.01 USDC) aggregate classification metrics for a commerce intent model without spinning up your own evaluation pipeline. It is ideal for teams evaluating browse/purchase/return/other classifiers on small datasets (up to 200 records) and wanting macro, micro, and weighted F1 in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:38.382Z","isFirstParty":false,"canonicalSlug":"commerce-intent-classifier-macro-micro-weighted-evaluation-scores-0b1ccce6"}