Evaluation example (LogProb, NormProb)*

Log probability of single observation sequence

LogProb[obs[[1]], FloorHMM[model]]

RowBox[{-, 19.0178}]

Log probability of multiple observation sequences

lprobs = LogProb[#, FloorHMM[model]] & /@ obs

RowBox[{{, RowBox[{RowBox[{-, 19.0178}], ,, RowBox[{-, 16.3455}], ,, RowBox[{-, 17.7905}], ,,  ... Box[{-, 11.8398}], ,, RowBox[{-, 8.5253}], ,, RowBox[{-, 10.0185}], ,, RowBox[{-, 14.9348}]}], }}]

Plus @@ lprobs

RowBox[{-, 966.605}]

Normalized (w/respect to observation sequence length) probability of single observation sequence

NormProb[obs[[1]], FloorHMM[model]]

0.161284

10^(LogProb[obs[[1]], FloorHMM[model]]/Length[obs[[1]]])

0.161284


Created by Mathematica  (October 20, 2003)