⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 本程序针对一维的数据分析,并对其建立合适的马尔可夫模型
💻
字号:
Notes for 1-D HMT code----------------------Files: (see file headers, or type help file in MATLAB, for more info)README - this filetrainEM_tree.m - function that takes a wavelet transform, a number ofstates, and a maximum number of iterations and returns HMTparameters.  No convergence criteria is specified right now (easilyfixed), it just runs a specified number of iterations (default 30).indmixmod.m - fits and indenpendent mixture model to the data (used tospecify starting points for the EM algorithm).updown_tree.m - upward-downward algorithm.  Returns hidden state pmfsand other likelihoods needed for training.viterbi_tree.m - returns most likely state sequence of the data giventhe model parameters.denoise_tree.m - finds conditional mean estimate given noisy waveletcoefficients (AWGN) and model.  Need to give it the noise variance,but you can easily change this.make_tree_data.m - generated synthetic data given a modelAll the code operates on the wavelet transform of the 1-D data.  Thewavelet transform array needs to have the "Tree" ordering describedbelow ( mdwt() in the Rice Wavelet Toolbox returns it in this order).All of the routines assume that there is only one observation (fullwavelet decomposition), and the model parameters are tied withinscale.  General variable names: N - number of data pointsL - number of levels in the tree (log2(N))M - number of hidden statesES - state transistion matrices at each level, dimension MxMxLES(a,b,c) is the probability a node at level c is in state b given itsparent is in state a.POS - hidden state pmf of the root node, dimension Mx1SI - mixture variances for each level, dimension MxLMU - mixture means for each level, dimension MxL"Tree" array order----------------------If you are not using Rice Wavelet Toolbox, this is the order thewavelet coefficients need to be in.Let W be the array of wavelet coefficients (full decomposition).W(1) is the scaling coefficientW(2) is the mother wavelet coefficientW(2*i-1) is the left child of W(i)W(2*i) is the right child of W(i)          W(1)           |          W(2)         /   \        /     \    W(3)       W(4)    /  \      /   \   /    \    /     \W(5)  W(6)  W(7)  W(8)etc.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -