Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.85 KB

File metadata and controls

41 lines (31 loc) · 1.85 KB

Neural-Network-Algorithms

Algorithms of Neural Networks written in MATLAB

hebbian.m

The code takes the input vectors, weights, learning constant and plots the updated weights at each stage

net.m

The code multiplies two matrices

BAM_network.m

This matlab code trains the weights for Bi-directional Associative Memory Network for english alphabects when made in a matrix of 5x3

max_net.m

Specific example of neural net based on competition. It can be used as a subnet to pick the node whose input is the largest.

max_hat.m

This matlab codes takes n number of input neurons with the following parameters: -> radius of region of interconnections -> radius of region with positive interconnections -> constant c1 -> constant c2 -> external signal. The code performs the mexican hat algorithm on these input neurons for and desired number of times.

hamming_net.m

These nets can be used to find exemplar that is closest to the bipolar input vector x.

som.m

Kohonen Self-Organizing Maps also known as topology preserving maps algorithm has been demonstrated with this code.

lvq.m

The code shows how Linear Vector Quantization algorithm works. For now the code classifies 2 classes. Further improvement to the code will be made.

perceptron.m

The code shows the implementation of perceptron learning algorithm for Logic gates. For the initial stage, AND Gate has been implemented whose input valus and target output can be easily modified in the code. It takes binary input and fetches bipolar output. This can also be modified.

madaline.m

The code shows the implementation of madaline learning algorithm for the logic gates. For the initial stage, the XOR Gate has been implemented. The target input can be easily modified in the code as per requirement of the gates. The code takes bipolar input and fetches bipolar output (which can be modified as per the need).