Difference between revisions of "Left diag.m"
(→See also) |
(Update function See also links and function index membership) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:left_diag.m}} __NOTOC__ | {{DISPLAYTITLE:left_diag.m}} __NOTOC__ | ||
| − | Generates a weight matrix descrambler for a particular layer in a neural network using maximum diagonality criterion described in (https:// | + | Generates a weight matrix descrambler for a particular layer in a neural network using maximum diagonality criterion described in (https://www.pnas.org/doi/10.1073/pnas.2016917118). |
==Syntax== | ==Syntax== | ||
| Line 6: | Line 6: | ||
P=left_diag(W,method,n_iter,guess) | P=left_diag(W,method,n_iter,guess) | ||
| − | == | + | ==Parameters== |
W - layer weight matrix, must be square | W - layer weight matrix, must be square | ||
| Line 28: | Line 28: | ||
==See also== | ==See also== | ||
| − | [[Neural network module]] | + | [[descramble.m]], [[Neural network module]], [[Built-in_experiments]] |
| − | + | ''Version 2.8, authors: [[Tajwar Choudhury]], [[Ilya Kuprov]]'' | |
| − | |||
| − | |||
| − | ''Version 2. | ||
Latest revision as of 18:38, 6 June 2026
Generates a weight matrix descrambler for a particular layer in a neural network using maximum diagonality criterion described in (https://www.pnas.org/doi/10.1073/pnas.2016917118).
Syntax
P=left_diag(W,method,n_iter,guess)
Parameters
W - layer weight matrix, must be square
method - 'max_diag_sum' finds a transformation that creates
P*W with maximum diagonal sum; 'max_diag_normsq'
finds a transformation that creates P*W with maxi-
mum diagonal norm square.
n_iter - maximum number of Newton-Raphson interations, 400
is generally sufficient
guess - [optional] the initial guess for the descrambling
transform generator (lower triangle is used), a
reasonable choice is a zero matrix (default)
Outputs
P - the matrix accomplishing the transformation when
it is multiplied into W from the left.
See also
descramble.m, Neural network module, Built-in_experiments
Version 2.8, authors: Tajwar Choudhury, Ilya Kuprov