Contents Code Course home

Course notesAll the labs

Fifteen labs, all running in your browser with nothing to install. The book prints the finished table. The first three build it in front of you, one target word at a time, counting from the text on screen rather than from a stored table. The animations have a step button, so you can stop anywhere and check a number by hand before moving on. Labs 04 to 10 are playgrounds: move a slider and watch a model change. Lab 11 steps through a table the same way the first three do.

Four live demos

These four sit on the course home page as tabs, and run on text you supply.

Where these fit

The first three belong to Count Vectors, PPMI, and SVD, the chapter where a word stops being a symbol and becomes a row of numbers. Read the chapter for the arithmetic, run hal.py and coals.py to reproduce the tables, and use these when you want to see the counts land.