# makefile for hidden Markov model code. # CC = gcc # use gnu C++ compiler #CC = CC # use SunOS C++ compiler CFLAGS = -c -O #…
BP-HMM 源代码
汇集 BP-HMM 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
// file : hmm.cc // authors: Richard Myers and Jim Whitson // version: 1.03 [August 21, 1995] #include #include #include #in…
function [prob,q] = viterbi(hmm, O) % viterbi recognition and decoding % % inputs: % hmm -- hmm model struct % O -- inp…
function [hmm, pout] = train(samples, M) % training of hmm % % inputs: % samples -- speech sample structure % M -- nu…
function hmm = inithmm(samples, M) % initialize hmm parameters % % inputs: % samples -- speech sample structure % M -…
function hmm = baum(hmm, samples) % baum-welch training, one loop % % inputs: % hmm -- hmm model struct % samples -- sp…
#! /zpr/gnu/bin/bash seqfile=testdata/70.sqd outfile=testdata/test.mix seed=1234 #### 1. ghmm initmodelghmm=testdata/init.5.smo…
#!/usr/bin/env python ################################################################################ # # This file is part…
a0 1 -1 1.0
C1 a c g t