Files
java-ai-agents/classic-ml-vs-llm/output/07-no-known-words.txt
T
Claude 5323e6c71a Add classic-ml-vs-llm module: Tribuo 4.3.2 and Smile 7.3.0 text classifiers, a zero-shot LLM client and a cost model
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
2026-12-01 23:57:00 +05:30

9 lines
549 B
Plaintext

# A ticket made only of words the model has never seen
input: "Device verification loops forever." (none of these words occur in the training tickets)
Tribuo LogisticRegression raw : throws IllegalArgumentException: No features found in Example ArrayExample(...)
Smile LogisticRegression raw : returns class index 1 (ACCESS), a guess from the intercepts alone
Smile DiscreteNaiveBayes raw : returns -2147483648 (Integer.MIN_VALUE, not a class index)
harness wrappers (predict) : null / null / null (null = no answer, counted as wrong)