フィルターのクリア

i'm using hmm for classification of vectors i have a matrix 6*400 matrix each row corresponds to a state from 1-6.i'm trying to estimate transmission and emission matrices but i have a problem ,all the vector coeffcients are values not integers

2 ビュー (過去 30 日間)
[TRANS_EST, EMIS_EST] = hmmestimate(or, target)
or seq matrix 6*400; target state matrix 6*400
Attempted to access E(1,0.00510418); index must be a positive integer or logical.
Error in hmmestimate (line 146)
E(states(count),seq(count)) = E(states(count),seq(count)) + 1;
Error in dhmm_em_demo (line 30)
[TRANS_EST, EMIS_EST] = hmmestimate(or, target)

回答 (1 件)

Walter Roberson
Walter Roberson 2014 年 3 月 11 日
What is min(target(:)) and max(target(:)) ? Also, please show the result of
find(mod(target,1) ~= 0)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by