r/MachineLearning • • Feb 28 '18

Discussion [D] Machine Learning Crash Course | Google Developers

https://developers.google.com/machine-learning/crash-course/
643 Upvotes

39 comments sorted by

View all comments

Show parent comments

1

u/IborkedyourGPU Mar 03 '18

Ok, that's more clear now. Then we're talking about different things, to an extent. Of course you don't try to invent a really new network structure when you're creating a real-world product: that work must been already done by someone else. But look at a typical unit test of a GAN : https://www.reddit.com/r/MachineLearning/comments/797ey6/p_how_to_unit_test_machine_learning_code/ (it's at then end of the blog). Of course this is just an example, but I can guarantee you that tests for real, robust products based on GANs are not too different. The test suite for the infrastructure around the GAN is hugely bigger and more complicated that this. So yes, TDD for the infrastructure around your state-of-the-art DL method is harder than TDD for the method itself. This doesn't mean that you don't need to "understand the math" if you want to develop new architectures. But "understanding the math" and using framework are not in opposition. If you look at most of the new papers, they either use Tensorflow, Caffe, Torch or PyTorch. These are all frameworks.

"Bare-bones" coding (which would really be done in CUDA, but let's be generous and include also code in Python) happens relatively rarely even at an academic level. An example is http://www.pnas.org/content/115/2/254 where they say existing frameworks wouldn't have allowed them to implement dilated convolutions (which is not true, btw, but hey, if you want to make your life harder and/or you don't know existing frameworks well enough, by all means please stick to "pure" NumPy).