ml-kit
The classic algorithms, from scratch — for offline features. One file, zero dependencies, no model, no API key, no network.
What's in it
tfidf+search— ranked text searchNaiveBayes— a tiny classifierknn,kmeans,pca2— similarity, clustering, plottingid3+predict— a small rules classifierlinearRegression— a trend linemarkov+generate— statistical generation from a corpusgrammar— rule-based generation (rules, slots, weighted alternatives)
Usage and the boundary statement are in the README. Tests: node test-node.js.