필터 지우기
필터 지우기

is binning technique will reduce quality of hmmtrain function?

조회 수: 1 (최근 30일)
Anil Kumar Mullapudi
Anil Kumar Mullapudi 2017년 1월 10일
답변: Jonathan Kwang 2017년 1월 23일
I am training hmm with the following code.
[ESTTR,ESTEMIT] = hmmtrain(seq,TRGUESS,EMITGUESS)
Here my 'seq' is a matrix with floating values. Since hmmtrain is not accepting floating sequences, i have applied binning technique on my seq matrix. All the floating values in my sequences are replaced with corresponding bin indexes. Is this binning technique will reduce the accuracy of model?
Another issue is, after converting seq matrix into bin indexes, i was getting the following error message.
"SEQ must consist of integers between 1 and 25", because one of the value in my seq is 25. This 25 value is generated in sequence because i have chosen my number of bins 25. Therefore i have bins between 1 to 25 and corresponding indexes.
My question is, what is N represents in the error message " * SEQ must consist of integers between 1 and N*", and what are the limits of N. cant i use any symbol in hmmtrain?

답변 (1개)

Jonathan Kwang
Jonathan Kwang 2017년 1월 23일
In the documentation for "hmmtrain", N is described as "the number of possible emissions". https://www.mathworks.com/help/stats/hmmtrain.html

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by