int smodel_likelihood

(smodel* smo, sequence_d_t* sqd,
  double* log_p)

Computes sum over all sequence of seq_w * log( P ( O|lambda ) ).

Documentation

Computes sum over all sequence of seq_w * log( P ( O|lambda ) ). If a sequence can't be generated by smo error cost of seq_w * PRENALTY_LOGP are imposed.
Parameters:
- smo smodel
sqd - sequence struct
log - \_p evaluated log likelihood
Returns:
n: number of evaluated sequences, -1: error

Alphabetic index



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