17 June 2019 7 4K Report

I am using a code that calls the hmmviterbi hundreds of thousands of times for long sequences of emissions (about 10000000 symbols) and big A and B probabilities matrices at each call. This makes my code runs for days.

Is there any other implementation, than that offered by the HMM toolbox, that runs faster?

Here the function called hundreds of thousands of times:

function [ acc ] = fitness(A, B) hmm_states = hmmviterbi(testing_data.getsetData.seqs,A,B) ; c = hmm_states == testing_data.getsetData.states ; acc = ( sum(c(:) == 1) ) / size(hmm_states,2) ; end

Thank you in advance.

More Amer Draa's questions See All
Similar questions and discussions