| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Neural Network Toolbox |
| Contents | Index |
Zero weight and bias initialization function
initzero(S,PR) takes two arguments,
| S |
Number of rows (neurons) |
| PR |
R x 2 matrix of input value ranges = [Pmin Pmax] |
and returns an S x R weight matrix of zeros.
initzero(S,[1 1]) returns an S x 1 bias vector of zeros.
Here initial weights and biases are calculated for a layer with two inputs ranging over [0 1] and [-2 2] and four neurons.
You can create a standard network that uses initzero to initialize its weights by calling newp or newlin.
To prepare the weights and the bias of layer i of a custom network to be initialized with midpoint,
To initialize the network, call init.
See newp or newlin for initialization examples.
| Provide feedback about this page |
![]() | initwb | learncon | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |