Viterbi

class viterbi.Viterbi(cep, diarization, exit_penalties=[0], loop_penalties=[0])[source]

Class that implements a Videtbi decoding and one-state HMM

decode(table)[source]

performs a Viterbi decoding of the segment given in diarization :param table: a Diar object :return: a Diar object

emission()[source]

Computes the log-likelihood for each features.

train(distrib_nb=8, init=None, max_it=4)[source]

Trains one GMM for each cluster using EM.