[Master Index] [Index for export/lyngby]

lyngby_nn_csoftmax

(export/lyngby/lyngby_nn_csoftmax.m)


Function Synopsis

Y = lyngby_nn_csoftmax(O);

Help text

 lyngby_nn_csoftmax   - Softmax for neural network classifier

       function Y = lyngby_nn_csoftmax(O);

       Input:  O   Input to the softmax layer

       Output: Y   Softmax output

       Implements a modified softmax function with "c-1" inputs and
       "c" outputs.

          Yi = exp(Oi) / (1 + sum(exp(Oi)) )

          Yc = 1 - sum(Yi)

       See also LYNGBY, LYNGBY_NN_CFORWARD, LYNGBY_INVLOGISTIC.

 $Id: lyngby_nn_csoftmax.m,v 1.2 2003/02/11 17:10:55 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