Some tutorial Matlab neural network programs
Here are a few extensively commented Matlab programs
that I wrote, which
I hope might be useful for teaching a course
on how to program neural nets.
Please feel free to
mail me with any
questions or comments.
-
bkprop.m -
This program shows step-by-step how to write classic
Rumelhart & McClelland backprop using just matrices and vectors.
This code might be useful for teaching the basic structure of the
backprop
algorithm, or for showing how to avoid for-loops by vectorising.
I posted this code to the newsgroup
comp.ai.neural-nets
and it was subsequently
used for teaching in a course
at the University of Zurich AI Lab.
-
sofm.m - This program shows how a Self-Organising
Feature Map (or SOFM, also often called a Kohonen map) can learn
a particular input distribution, in this case a letter 'A'.
-
fuzzyartmap_demo.m - This program shows graphically how
Fuzzy ARTMAP learns the circle-in-the-square task by growing
category boxes in response to the presented inputs. Detailed comments
explain the algorithm's match, reset and learning stages.