Hello! I am testing different topologies of the multilayer perceptron in order to get the best one and I would like to avoid randomness in intial conditions in this case: therefore I would like to have all the networks the similar if not the same initial conditions. However, as I have learnt feedforwardnet has built in Nguyen-Widrow initialization algorithm which delivers each time different result. I also found out that it is possible to set manually the initialization algorithm I want (for example 'midpoint'), however, I am having difficulties to do it for the network, where I change the topology and consequently number of links, weights and biases. Maybe there is a way to change existing initialization algorithm to another one for the whole network at once?
Kshitij Singh answered .
2025-11-20
1. It doesn't matter how MATLAB initializes your net. You can always override the initialization using
help setwb doc setwb type setwb