(smodel** smo, double* result, int smo_number,
double* O, int T)
Alternative to MAPCA (smap_classify); calculate p[m] directly using Bayes' theorem, instead of recursive over t.
Documentation
Alternative to MAPCA (smap_classify); calculate p[m] directly using
Bayes' theorem, instead of recursive over t.
p(m | O) = p(O | m) * p(m) / (sum_i p(O | i) * p(i))
- Parameters:
- - smo vector of models
result - gives the probability for all the models
- smo_number number of models
O - sequence
T - length of the sequence
- Returns:
- number of the model, that fits best to the sequence
Alphabetic index
This page was generated with the help of DOC++.