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
16 lines
926 B
Plaintext
16 lines
926 B
Plaintext
# Three classic classifiers and a baseline on the same split
|
|
dataset: 3000 synthetic tickets, 2401 train / 599 test, 5 balanced classes (see 01-dataset.txt)
|
|
timings are from one run on one machine and drift between runs; accuracy and F1 do not
|
|
|
|
model accuracy macro-F1 train ms median us p99 us model KB
|
|
Majority-class baseline 0.2020 0.0672 5 0.1 0.4 -
|
|
Tribuo LogisticRegression (SGD) 0.9232 0.9233 1141 13.9 93.2 58.9
|
|
Smile LogisticRegression 0.9182 0.9182 2796 7.3 45.2 10.1
|
|
Smile DiscreteNaiveBayes 0.9048 0.9049 49 7.5 31.9 16.9
|
|
|
|
## Tribuo's own evaluator against ours
|
|
Tribuo LabelEvaluator accuracy : 0.9232
|
|
harness Metrics accuracy : 0.9232
|
|
Tribuo LabelEvaluator macro F1 : 0.9233
|
|
harness Metrics macro F1 : 0.9233
|