www. Jacob   Zimmerman .com



My Very First Neural Network

Spring 2021
Published: January 22, 2024

I had been in my introductory coding class for 2 months. We needed to do some sorting, so just for fun I stumbled across all the sorting algorithms and decided to work through mergesort just for fun. It was a huge waste of time, given that I was still an anthropology major, but it was fun.

After reading about sorting algorithms I came across a video about neural networks. I found them fascinating, and I decided make one. This article isn't really about neural networks, it's about that decision.

I barely knew how to program, and at the time coding wasn't my priority. Somehow though, I spent weeks reading about NNs, and finally came across a fantastic workshop by David Miller. I followed along for a bit, but thanks to C++'s overloaded '&' operator (especially on the left-side of an assignment), I was widly confused. I had to modify the code, and start to make it on my own.

To get it to work, I had to learn how to use the C++ stdlib, and how to really debug a mid-size program. All skills that weren't taught to me. I feel that many soft skills come from programming something you don't know is going to work. Most importantly though, I learned to love programming. The pride in pulling a dataset and seeing recognition, especially without any libraries, is a feeling I'll never forget. It's one I strive for often.

Some of my primary takeaways from this project are:
Neural Net in C++ Tutorial from David Miller on Vimeo.