Seeded synthetic support tickets in five categories; Tribuo and Smile logistic regression and Smile naive Bayes against a majority baseline; skewed classes, train/test duplicates, vocabulary drift and the three different answers to a ticket of unseen words; a zero-shot client for OpenAI-compatible endpoints tested against a fake endpoint (no model was called) and a cost formula with assumed prices. Every figure is written to output/ by the tests that assert it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
7 lines
341 B
Plaintext
7 lines
341 B
Plaintext
# Skewed classes: accuracy against macro-F1
|
|
class mix 55% BILLING, 25% ACCESS, 12% BUG, 6% FEATURE, 2% CANCEL; 2399 train / 601 test
|
|
|
|
model accuracy macro-F1 CANCEL recall
|
|
Majority-class baseline 0.5308 0.1387 0.000
|
|
Tribuo LogisticRegression (SGD) 0.9318 0.9083 0.800
|