DHMM_GL.h
资源名称:VQ-DHMM.rar [点击查看]
上传用户:avbj512
上传日期:2013-09-18
资源大小:6239k
文件大小:1k
源码类别:
DSP编程
开发平台:
Visual C++
- // DHMM_GL.h:
- // Interface for the DHMM_GL Module.
- //
- // Created 2001/08, By DongMing, MDSR.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DHMM_GL_H__AAD3EA53_EA00_4022_85B6_34416914DAF5__INCLUDED_)
- #define AFX_DHMM_GL_H__AAD3EA53_EA00_4022_85B6_34416914DAF5__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define KMEAN_PRECISION (1.0E-3) // The best precision: 1.0E-3, better than 0.5E-3 & 5.0E-3
- #define EPSILON_CALC (1.0E-6) // The best precesion: 1.0E-5, better than 1.0E-4 & 1.0E-6
- #define MAX_CALC_NUM 320
- #define Epsilon_B (1.0E-4)
- int DHMM_VQ_Train_Code_Book_GL(DYNA_2DIM_DOUBLE_ARRAY d2dda_Code_Word, int n_Code_Word_Num, int n_Code_Word_Dim,
- DYNA_2DIM_DOUBLE_ARRAY d2dda_Initial_Code_Book, DYNA_2DIM_DOUBLE_ARRAY d2dda_Code_Book, int n_Code_Book_Size);
- int DHMM_Model_Train_DHMM_Model_GL(WORD_SAMPLE * pu_Word_Sample, int n_Word_Sample_Num,
- DHMM_MODEL * pu_DHMM_Model);
- int DHMM_Recog_Forward_Backward_GL(DHMM_MODEL * pu_DHMM_Model, WORD_SAMPLE * pu_Word_Sample,
- double * pd_Max_Likelihood);
- static double DHMM_Calculate(double ***Alpha, double ***Belta, double *Pi, double **A,
- double **B, int Out[140][150], int Sample_num, int Output_num, int *T,
- int n, int mode, int End_state_mode, WORD_SAMPLE * DMAD_pu_Word_Sample);
- #endif // !defined(AFX_DHMM_GL_H__AAD3EA53_EA00_4022_85B6_34416914DAF5__INCLUDED_)