I'm very new to machine learning, I'v read about Matlab's Statistics toolbox for hidden Markov model, I want to classify a given sequence of signals using it. I'v 3D co-ordinates in matrix P
i.e [501x3] and I want to train model based on that. Evert complete trajectory ends on a specfic set of points, i.e at (0,0,0) where it achieves its target.
What is the appropriate Pseudocode/approach according to my scenario.
My Pseudocode:
- 501x3 matrix
P
is Emission matrix where each co-ordinate is state - random NxN transition matrix values (but i'm confused in it)
- generating test sequence using the function
hmmgenerate
- train using
hmmtrain(sequence,old_transition,old_emission)
- give final transition and emission matrix to
hmmdecode
with an unknown sequence to give the probability (confusing also)
EDIT 1:
In a nutshell, I want to classify 10 classes of trajectories having each of [501x3]
with HMM. I want to sampled 50 rows i.e [50x3]
for each trajectory in order to build model. However, I'v murphyk's
toolbox of HMM for such random sequences.