Backpropagation for training an MLP

this code returns a fully trained MLP for regression using back propagation of the gradient. I dedicate this work to my son :"Lokmane ".

You are now following this Submission

BP algorithm is one of the most famous algorithms for training a feed forward neural net , it allows to update weights by moving forward and backword until the error function stuck at its local minimum.

in this code we explain step by step in comments how we can train a neural net with BP algorithm with additional illustrative features.

https://www.youtube.com/watch?v=vYZdBgS-Z8A&feature=youtu.be

Cite As

BERGHOUT Tarek (2026). Backpropagation for training an MLP (https://www.mathworks.com/matlabcentral/fileexchange/69947-backpropagation-for-training-an-mlp), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Deep Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.7.0

description

1.6.0

Notations are updated according to attached pdf document

1.5.0

a prediction function is added to meet some student requests

1.4.0

youtube link

1.3.0

very simple code with many comments to make easy to be understood

1.2.0

new very simple code with comments to be very easy to understand.

1.1.0

new version

1.0.0