(Zongcai Feng)
1 Objective:
Generate binary training set of vectors that contain 1s and 0s. Classify which ones only
contain only 0 (class=1) or not (class=0). Use multilayer neural network that
requires the input of parameters to set up the FNN structure.
Validate the accuracy of the NN gradient using a finite -difference approximation to the gradient.
Figure 3. Results similar to to Figure 4.14 in Schuster et al. (2021) using the neural network with two
layers. The notation [5 10 1] indicates that the input example is a 5×1 vector
and layers 1 and 2 each have ten nodes and one node, respectively.