Normalized column weight initialization function
Syntax
W = randnc(S,PR)
W = randnc(S,R)
Description
randnc is a weight initialization function.
randnc(S,P)
takes two inputs,
S -
Number of rows (neurons).
PR - R
x 2
matrix of input value ranges = [Pmin Pmax]
.
and returns an S
x R
random matrix with normalized columns.
Can also be called as randnc(S,R)
.
Examples
A random matrix of four normalized three-element columns is generated:
M = randnc(3,4)
M =
-0.6007 -0.4715 -0.2724 0.5596
-0.7628 -0.6967 -0.9172 0.7819
-0.2395 0.5406 -0.2907 0.2747
See Also
randnr
[ Previous | Help Desk | Next ]