| Neural Network Toolbox | |
| Provide feedback about this page |
Hinton graph of weight matrix and bias vector
Syntax
Description
hintonwb(W,B,maxw,minw) takes these inputs,
W |
S x R weight matrix |
B |
S x 1 bias vector |
maxw |
Maximum weight (default = max(max(abs(W)))) |
minw |
Minimum weight (default = M1/100) |
and displays a weight matrix and a bias vector represented as a grid of squares.
Each square's area represents a weight's magnitude. Each square's projection (color) represents a weight's sign: inset (red) for negative weights, projecting (green) for positive. The weights are shown on the left.
Examples
The following code produces the result shown below.
See Also
| Provide feedback about this page |
![]() | hintonw | ind2vec | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |