Who wrote this? A stylometry lab

A free, self-paced lab by Haining Wang, Indiana University. Python runs in your browser: no account, no install.

How to use this lab

Privacy: your code and data never leave your browser. The only exception is a question you choose to send to B'lawd, the lab's helper (bottom right): it goes to our server and is answered by Claude (Anthropic).

Download the whole lab (.zip) — for teachers who want to host or archive a copy (needs any static web server; see the README inside).

Waking up Python in your browser…
Loading the Python engine (a few MB, once). Each case then loads its own data, and the packages it needs (NumPy, scikit-learn, matplotlib) the first time a step uses them. Please be patient on slow connections.