Search Tools Links Login

Basic Neural Net

This is a Basic Neural Net, based on original code by Richard Gardner. This is designed as a learning program, to help in the process of learning and understanding the basics of coding neurons and neural networks. I've taken Richard's code, changed it around a bit to make the neuron data a bit more readable, and commented the code to explain whats going on at every stage. The program uses backwards propogation (or back prop) to train the network. There is a basic data structure for a neuron that stores all the information about the neuron and associated weights, and the code (Richard's, mainly) is broken down into parts that allow you to clearly see code for training, activation of a neuron, and getting an output from the network. There's a nice GUI stuck on the front of it all, which gives you a graphical representation of how the neurons are layed out in my code (its a static graphic). As it is at the moment, it makes for quite a nice tutorial program if you just want to compile it and watch it train for the preset functions, or enter your own input data and train it for that. Basic neural net knowledge is assumed (you should really know what a neuron is, and have some idea of what training a neural network to do functions like AND or XOR actually means, otherwise the GUI won't mean much from the outset). I'm still really only a neural net learner, so I don't make any guarantee that this is completely accurate or complete in anyway. Hopefully the code is written so that you can expand on it to make different neural configurations if you want to. I don't mind what you do with any of this program, or code, but would be interested to hear comments and/or suggestions.

Original Author: obfuscator


Doesn't take any file or command line inputs, however you can graphically configure weights, and enter training data.


If you want to know about Neural networks, get some basic information on what a neuron is and the idea behind a neural network first, or at the same time as you read through this code. (also, remember the GUI is just setup for the configuration of neurons in the code as it is, if you change the code, you'll need to turn it off, or update the graphic)


No file or other output except for graphical display of weight values and facility to view possible current outputs of the network.

Side Effects

You *may* know more about neural networks than before you downloaded this program ;-)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 94 times


Visual Basic 6


Posted: 9/3/2020 3:45:00 PM
Size: 51,099 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.