lab
ml and nlp algorithms you can poke at. each one runs in your browser.
- perceptron a line that only learns from its mistakes
- logistic regression the same line, but it says how sure it is
- neural net bend the line by stacking a few of them
- k-nearest neighbours ask the closest points and go with the majority
- decision tree twenty questions, each one a straight cut
- k-means find groups nobody labelled
- edit distance how many edits from one word to another
- viterbi the likeliest tags for a sentence
- cky parser every way a grammar can read a sentence
- bpe tokenizer glue the commonest pair, again and again
- n-gram language model guess the next word from the last one or two
- wordle entropy how many bits a guess is worth