MATLAB: Initialize weights and biases in a nureal network

neural networks

How can i initialize weights and biases in a feed forward neural network which built with newff command to arbitrary values before training?

Best Answer

The call to NEWFF automatically creates random initial weights via INITNW. Just remember to initialize RAND before the first call to NEWFF so that you can duplicate your results.
Greg