Scilab Function
Last update : 5/9/2006

ANN_CONV_W - Function to convert the weight and bias stored in a matrix or vector form in the other form (vector or matrix form respectively)

Calling Sequence

Wtr = ANN_CONV_W(Wini,Nin,Nhid,Nout,Type)

Parameters

Description

This function offers a convenient way to store network bias and weight values.

The size of the vector form gives immediately the number of parameters required by a network.

Examples

   // Ouput from a network with 6 input nodes, 4 nodes in the hidden layer and 1 output node
   IN = rand(6,100);
   W  = rand(4,7,2);
   [OUT,IN_W,HID_OUT] = ANN_SIM(IN,4,1,W);
   Wvect  = ANN_CONV_W(W,6,4,1,'matrix');

  

See Also

ANN_LMBR ,   ANN_JACOB ,   ANN_NORM ,   ANN_SIM ,  

Authors

Julien Lerat CEMAGREF Antony, HBAN Unit, julien.lerat@cemagref.fr