1. Choose data and configure the parameters in trainMain.m and then run it. (all .m have to be in same directory)
  2. After training, the workspace will be stored as .mat file
  3. Load .mat file generated from step 2 and run plots.m to visualise result

Edit on 13 Apr 2022 08:34:

Code now can generate weights and bias matrices. It can also perform PCA on weights and bias matrices(to 2d and 3d).

It can also calculate the percentage of error for training, test and validation sets.