Test-First Machine Learning
codingossip.github.io
codingossip.github.io
We had non technical subject matter experts that I sneakily got to write several thousand unit tests. We had some quantitative and qualitative data we wanted annotated on a substantial dataset of scanned documents. I built a tool that let them type natural language descriptors for everything. I then converted that to javascript unit tests by way of some regex and coffeescript.
It was possible to bootstrap classifiers that way! Seems like kind of old tech in an era of unsupervised megaML, but I've not been using that part of my resume for a year or so.
For anyone who clicked this thinking this would be related to model validation, it ain't. The article is promoting test-driven development for systems that have an ML component.
The article mentions nothing about specific methodologies regarding testing in a ML context.
Maybe on the next article? :)
A blog series on the details would be great, though!
The tests aren't concerned with the technical details at all - they should test whether the models work, not how.