[Master Index] [Index for export/lyngby]

lyngby_nn_reg2reg

(export/lyngby/lyngby_nn_reg2reg.m)


Function Synopsis

Reg = lyngby_nn_reg2reg(Reg, N)

Help text

 lyngby_nn_reg2reg    - Standardize regularization

       function Reg = lyngby_nn_reg2reg(Reg, N)

       Input:  Reg   Regularization
               N     Neural network structure

       Output: Reg   Regularization with the standardized length

       The input regularization can either be of length 1, 2 or Nu,
       where Nu is the total number of weights. The returned length
       of Reg will be the total length.

       If the input regularization is of length 2, then the first
       value will be used as the regularization for the input weights
       and the second value will be used as the value for the output
       weights

       Regularization is not put on the bias weigths.

       See also: lyngby_nn_emain, lyngby_nn_qmain, lyngby_initvw

Cross-Reference Information

This function is called by

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF