“For well thou know’st, to my dear doting heart”

William Shakespeare, Sonnet 131

I’m embarking on a new research project: to recognize a font from a snippet of Shakespeare set in that font. The above quote happened to be one of the example phrases I looked it, and I think captures the spirit of machine learning.

This episode was mostly reading in data. I had prepped the dataset already (hand crafted using PIL), but I explored how to read in a hdf5 file in python. All the code for this project is available on Github.