The following is the source code in C++ for a basic neural network. It isn't weighted down by jargon, mathematical descriptions, or theory: it shows simply and directly how to program a neural network. basic.zip contains the source code without commenting while basicCommented.zip is the same code but extensively commented. I've programmed far more complicated neural network systems that have been tested in real-world applications. So, I've made the setup you'll find in basic.zip is a good foundation for adding complexity later on. In other words, it is a little over-engineered for what it currently does but that'll pay off later. Over time I'll add to the source code here to teach more about neural networks.
John LeFlohic February 21, 2003 Last Updated May 4, 2010