[Master Index] [Index for export/lyngby]

lyngby_nn_cost

(export/lyngby/lyngby_nn_cost.m)


Function Synopsis

C =  lyngby_nn_cost(E, V, W, Reg)

Help text

 lyngby_nn_cost       - Cost function = error + regularization

	function C =  lyngby_nn_cost(E, V, W, Reg)

       Input:  E      Error
               V      Input weights
               W      Output weights
               Reg    Regularization 

       Output: C      Cost function

       The costfunction for the neural network is defined as:

           C = E + 1/2 * V * diag(Reg) * V

       See also LYNGBY, LYNGBY_NN_EMAIN, LYNGBY_NN_QMAIN.

 $Id: lyngby_nn_cost.m,v 1.3 2004/06/03 17:38:32 fnielsen Exp $

Cross-Reference Information

This function is called by

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