This page is for the mathematical theory surrounding non-parametric models and in particular, the K-nearest neighbours algorithm.
It is in a TODO state.
Omar.
This page is for the mathematical theory surrounding non-parametric models and in particular, the K-nearest neighbours algorithm.
It is in a TODO state.
Omar.
old mate yann lecunn decided to remove the mnist zip from his site along with the corresponding file info
/wiki/ml/supervised/classification/naive-bayes/naive bayes is the classifier you get by taking bayes’ rule seriously and probability theory not seriously at all. 𐃏 it assumes every feature is independent of every other feature given the class — an assumption that is false for essentially all real data — and yet it filters spam, routes support tickets and triages documents well enough that it has survived five decades of fancier competition. this page derives it, counts why the “naive” part is the whole point, builds a spam filter from scratch, and is honest about where it breaks (its probabilities, not its decisions).
/wiki/ml/supervised/regression/locally-weighted/a straight line is too rigid for a wiggly world, and a global degree-9 polynomial is a hostage negotiation. 𐃏 locally weighted regression (LWR — and its robust cousin LOWESS) takes the diplomatic route: fit the simplest possible model, but fit it freshly at every query point, paying attention only to the training points nearby.
fix a query \(x_0\). assign each training point a weight \(w_i(x_0) \ge 0\) that decays with distance from \(x_0\), then solve the weighted least-squares problem
/wiki/ml/unsupervised/k-means-clustering/k-means is unsupervised learning’s hello world: pick \(k\) prototype points, assign every datum to its nearest prototype, move each prototype to the centre of its flock, repeat. 𐃏 it is fast, it always terminates, and it is wrong in ways that are so instructive that every clustering course starts here anyway.
/wiki/Knowledge is a paradox. The more one understand, the more one realises the vastness of his ignorance.
/wiki/ml/supervised/