Products & Services Industries Academia Support User Community Company


hintonwb

Purpose

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 = maxw/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

hintonw


 Provide feedback about this page 

Previous page hintonw ind2vec Next page

Recommended Products

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