Goto

Collaborating Authors

 unit test machine


How to unit test machine learning code. – Chase Roberts – Medium

#artificialintelligence

Note: The popularity of this post has inspired me to write a machine learning test library. Over the past year, I've spent most of my working time doing deep learning research and internships. And a lot of that year was making very big mistakes that helped me learn not just about ML, but about how to engineer these systems correctly and soundly. One of the main principles I learned during my time at Google Brain was that unit tests can make or break your algorithm and can save you weeks of debugging and training time. However, there doesn't seem to be a solid tutorial online on how to actually write unit tests for neural network code.


How to unit test machine learning code. – Chase Roberts – Medium

@machinelearnbot

Over the past year, I've spent most of my working time doing deep learning research and internships. And a lot of that year was making very big mistakes that helped me learn not just about ML, but about how to engineer these systems correctly and soundly. One of the main principles I learned during my time at Google Brain was that unit tests can make or break your algorithm and can save you weeks of debugging and training time. However, there doesn't seem to be a solid tutorial online on how to actually write unit tests for neural network code. Even places like OpenAI only found bugs by staring at every line of their code and try to think why it would cause a bug.