| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Neural Network Toolbox |
| Contents | Index |
Midpoint weight initialization function
midpoint is a weight initialization function that sets weight (row) vectors to the center of the input ranges.
midpoint(S,PR) takes two arguments,
| S |
Number of rows (neurons) |
| PR |
R x Q matrix of input value ranges = [Pmin Pmax] |
and returns an S x R matrix with rows set to (Pmin+Pmax)'/2.
Here initial weight values are calculated for a five-neuron layer with input elements ranging over [0 1] and [-2 2].
You can create a standard network that uses midpoint to initialize weights by calling newc.
To prepare the weights and the bias of layer i of a custom network to initialize with midpoint,
To initialize the network, call init.
| Provide feedback about this page |
![]() | maxlinlr | minmax | ![]() |

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 |