资源简介
经过编译,可以直接用,能实现hmm模型的训练,以及识别功能。

代码片段和文件信息
/************************************************************************
* *
* Program packages ‘myHMM‘ : *
* *
* myHMM.c *
* -the main program for myHMM hidden Markov model(myHMM隐马尔可夫模 *
* 型的主程序 ) *
* Version 0.1 *
* Date: 3 May 2003 *
* *
* NOTE: This program package is copyrighted in the sense that it *
* may be used for scientific purposes. The package as a whole or *
* parts thereof cannot be included or used in any commercial *
* application without written permission granted by its producents. *
* No programs contained in this package may be copied for commercial *
* distribution. *
* *
* All comments concerning this program package may be sent to the *
* e-mail address ‘dcslgl@nus.edu.sg‘. *
* *
************************************************************************/
/*************************************************************************
NAME
myHMM - train the hidden Markov model(训练hmm模型)
SYNOPSIS
myHMM -hmm [HMM] [-train trainFile] [-trainedHmm trainedHmmFile]
[-test testFile] [-tested testedFile] [-mode mode]
DEscriptION
Input:
required: pre-defined hidden Markov model
optional: training data testing data
Output:
optional: trained hidden Markov model tested result
Global variables:全局变量
N: integer number of states 状态数
M: integer number of observations 观察值序列的长度
T: integer the length of the longest input sequence最长的输入序列的长度?
S: integer finite set of possible states可能状态的有限集合
O: integer finite set of possible observations 观测值集合
t: double transition matrix: N x N状态转移矩阵
e: integer emission matrix: N x M 输出观测值概率集合
pi: integer initial state distribution: 1 x N 初始状态分配
%% A hidden Markov model (HMM) is a five-tuple (SOtepi).
%% Let lambda = {tepi} denote the parameters for a given HMM
%% with fixed S and O.
%% There are three basic problems in HMM:
%% 1) probability of the observation sequence given the HMM model
%% -> forward algorithm & backward algorithm
%% 2) the most probable state path of the observation sequence
%% given the HMM model
%% -> Vi
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-05-07 16:22 myHMMsource\
目录 0 2013-05-07 13:31 myHMMsource\Debug\
文件 14064 2013-05-06 21:12 myHMMsource\Debug\02.txt
文件 16257 2013-05-06 20:34 myHMMsource\Debug\2b.txt
文件 37 2013-05-07 15:17 myHMMsource\Debug\TESTED_FILE.txt
文件 11 2013-05-07 15:17 myHMMsource\Debug\TESTING.txt
文件 2553 2013-05-07 13:23 myHMMsource\Debug\default.trainedHmm
文件 2553 2013-05-07 13:14 myHMMsource\Debug\default.trainedHmm.bak
文件 237636 2013-05-07 12:43 myHMMsource\Debug\myHMM.exe
文件 290836 2013-05-07 12:43 myHMMsource\Debug\myHMM.ilk
文件 49917 2013-05-07 12:43 myHMMsource\Debug\myHMM.obj
文件 214068 2013-05-06 21:27 myHMMsource\Debug\myHMM.pch
文件 533504 2013-05-07 12:43 myHMMsource\Debug\myHMM.pdb
文件 522 2013-05-02 17:42 myHMMsource\Debug\s13.hmm
文件 62 2004-02-26 15:20 myHMMsource\Debug\train.dat
文件 2553 2013-05-07 15:17 myHMMsource\Debug\trainedhmmfile.txt
文件 33792 2013-05-07 14:59 myHMMsource\Debug\vc60.idb
文件 53248 2013-05-07 12:43 myHMMsource\Debug\vc60.pdb
目录 0 2013-05-06 21:14 myHMMsource\Debug\测试文件mfcc男声\
文件 14064 2013-05-06 21:12 myHMMsource\Debug\测试文件mfcc男声\02.txt
文件 13900 2013-05-06 21:12 myHMMsource\Debug\测试文件mfcc男声\03.txt
文件 11730 2013-05-06 21:13 myHMMsource\Debug\测试文件mfcc男声\07.txt
文件 12932 2013-05-06 21:13 myHMMsource\Debug\测试文件mfcc男声\08.txt
目录 0 2013-05-06 20:41 myHMMsource\Debug\训练文件mfcc(男声)\
文件 16665 2013-05-06 20:32 myHMMsource\Debug\训练文件mfcc(男声)\0a.txt
文件 16344 2013-05-06 20:33 myHMMsource\Debug\训练文件mfcc(男声)\0b.txt
文件 16264 2013-05-06 20:39 myHMMsource\Debug\训练文件mfcc(男声)\1a.txt
文件 16487 2013-05-06 20:33 myHMMsource\Debug\训练文件mfcc(男声)\1b.txt
文件 16214 2013-05-06 20:39 myHMMsource\Debug\训练文件mfcc(男声)\2a.txt
文件 16257 2013-05-06 20:34 myHMMsource\Debug\训练文件mfcc(男声)\2b.txt
文件 16287 2013-05-06 20:39 myHMMsource\Debug\训练文件mfcc(男声)\3a.txt
............此处省略201个文件信息
相关资源
- word2vec词向量训练及中文文本相似度计
- C++实现多元线性回归 可指定任意几元
- 训练SVM分类器 VS2013 C++
- 训练集与测试集文件.rar
- 手写数字识别_附带VC++源程序和训练素
- 24 个C语言项目案例分析源码+使用说明
- 1000多个手写体训练集
- 算法竞赛入门经典--训练指南,代码仓
- 算法竞赛入门经典第二版合集(包含
- 训练SVM分类器
- 算法笔记与上机训练实战指南两本带
- pytorch训练图像分类模型pth转ONNX并测试
- 编制一个读单词过程,从输入的源程
- 线性表的基础训练 链表
- svm训练图像
- 线性表的基础训练 顺序表
- C语言拔高训练含代码
- 机器人学强化训练,适用动态避障,
- palm 手掌检测的训练文件
- C语言基础代码训练适合初学者
- c++能力编程能力训练大作业
评论
共有 条评论