int gradient_descent

(model** mo, sequence_t* sq, double eta,
  int no_steps)

Trains the model with a set of annotated sequences till convergence using gradient descent.

Documentation

Trains the model with a set of annotated sequences till convergence using gradient descent. Model must not have silent states. (checked in Python wrapper)
Parameters:
mo - : pointer to a model
sq - : struct of annotated sequences
eta - : intial parameter eta (learning rate)
no_steps - number of training steps
Returns:
0/-1 success/error

Alphabetic index



This page was generated with the help of DOC++.