Nice. Recreating these methods in simple code for yourself is definitely the way to check you understand it. This demo looks nice, clean, and straightforward. (Although I'd rename or comment variables x and y, or give some sort of guidance on what way around the weight matrices are within the code itself.) It's also worth checking out existing neural net code-bases to see what tricks they have. The fine details usual…
MNIST Handwritten Digit Classifier – beginner neural network project
11–20 of 31 posts
Re: MNIST Handwritten Digit Classifier – beginner neural network project
#12Can someone explain how this repo is so popular/ why it's so popular here? This is a basic implementation of a relatively simple algorithm that you learn when initially starting with ML/DL. I do not want in any way to sound critical and am genuinely curious about the dynamics of why people would find this interesting given it's reduced complexity.
The code is actually based on the original code from the book (e.g.: can be seen from the variable names like 'nabla') , but written in a more succinct manner. Since I am relatively new to Python, I found it easier to follow this repo's code than the code in the book and used it as my reference implementation.
It's missing quite a few things like calculating accuracy, regularization, etc. but they are quite straightforward to implement.
[1] Neural Networks and Deep Learning by Michael Nielsen - http://neuralnetworksanddeeplearning.com
Re: MNIST Handwritten Digit Classifier – beginner neural network project
#13Nice. Recreating these methods in simple code for yourself is definitely the way to check you understand it. This demo looks nice, clean, and straightforward. (Although I'd rename or comment variables x and y, or give some sort of guidance on what way around the weight matrices are within the code itself.) It's also worth checking out existing neural net code-bases to see what tricks they have. The fine details usual…
'It's also worth checking out existing neural net code-bases to see what tricks they have. The fine details usually aren't in papers, and they're not all in the text-books either.' Given that you are a person who is highly-qualified to answer, I am genuinely curious why do you think that is? Reimplementing algorithms from scratch is an efficient way to learn, understand the underlying concepts and attempt improvement…
That said, there are also whole papers, even collected volumes, on initialization and other practical details.
Textbooks aren't always up-to-date with the latest practical knowledge, as deep-learning practice is moving quickly. Or they simply don't want to clutter their high-level maths descriptions with code-level implementation details. Teaching stuff is all about tradeoffs. I'm sure several books do mention the scale of weights for simple feed-forward weights though, as it's not an implementation-level detail, and it's probably been well known since the 1980s.
Re: MNIST Handwritten Digit Classifier – beginner neural network project
#14Can someone explain how this repo is so popular/ why it's so popular here? This is a basic implementation of a relatively simple algorithm that you learn when initially starting with ML/DL. I do not want in any way to sound critical and am genuinely curious about the dynamics of why people would find this interesting given it's reduced complexity.
Re: MNIST Handwritten Digit Classifier – beginner neural network project
#15Can someone explain how this repo is so popular/ why it's so popular here? This is a basic implementation of a relatively simple algorithm that you learn when initially starting with ML/DL. I do not want in any way to sound critical and am genuinely curious about the dynamics of why people would find this interesting given it's reduced complexity.
Re: MNIST Handwritten Digit Classifier – beginner neural network project
#16Can someone explain how this repo is so popular/ why it's so popular here? This is a basic implementation of a relatively simple algorithm that you learn when initially starting with ML/DL. I do not want in any way to sound critical and am genuinely curious about the dynamics of why people would find this interesting given it's reduced complexity.
https://xkcd.com/1053/
Re: MNIST Handwritten Digit Classifier – beginner neural network project
#17Re: MNIST Handwritten Digit Classifier – beginner neural network project
#18If you want to jump into this sort of thing, I highly recommend Google's Udacity course for deep learning. https://classroom.udacity.com/courses/ud730
https://www.coursera.org/learn/machine-learning https://www.coursera.org/learn/neural-networks
I think the Udacity course is best if you know principles of machine learning and want to apply them in a more professional toolchain and learn Tensorflow
Re: MNIST Handwritten Digit Classifier – beginner neural network project
#19If you want to jump into this sort of thing, I highly recommend Google's Udacity course for deep learning. https://classroom.udacity.com/courses/ud730
it's very good, but personally I'd start with the Andrew Ng and Hinton courses https://www.coursera.org/learn/machine-learning https://www.coursera.org/learn/neural-networks I think the Udacity course is best if you know principles of machine learning and want to apply them in a more professional toolchain and learn Tensorflow