Back Propogation Algorithm
The training input vectors and target vectors are read from files data1in and data1out respectively. The no of nodes in input and output layer is decided depending on the no. of rows in these datasets.
The no of hidden layers, No of nodes in each hidden layer and the target error (put 0.1) is to be input by the user.
Learning curve is plotted after every 100 epochs.
Learning factor can be varied using the slider at the bottom. This idea was picked from an algorithm created by by AliReza KashaniPour & Phil Brierley.
Activation function for hidden layers is logsig and linear for output layer!
Just press F5 and ve funn!
anshuman0387[at]yahoo[dot]com :)
Cite As
Anshuman Gupta (2024). Back Propogation Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/23528-back-propogation-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Deep Learning Toolbox > Function Approximation, Clustering, and Control > Function Approximation and Clustering > Define Shallow Neural Network Architectures >
Tags
Acknowledgements
Inspired by: Function Approximation Using Neural Network Without using Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |