Hidden Markov Models HMM

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 3

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

4 Terms

1

Exam: 2022-23

MATLAB - Hidden Markov Model (HMM) for DNA Sequence Classification

rite a MATLAB function that implements an HMM to classify DNA sequences.

a) Define the transition probabilities for a two-state HMM, where each state has a probability of remaining the same or transitioning to the other state.

b) Define the emission probabilities for a ten-symbol sequence, where the first five symbols are more likely in one state and the last five symbols are more likely in the other state.

c) Load the sequence data from a given file.

d) Apply HMM decoding using hmmdecode.m to determine sequence classifications before training.

e) Train the HMM using hmmtrain.m.

f) Apply hmmdecode.m again using the trained parameters.

g) Plot two subfigures:

  • The original DNA sequence data.

  • The HMM state classification before and after training.

h) Return the optimized transition probability as the function output.

New cards
2

Data Analysis Exercises

HMM: Ice Cream Sales and Weather Prediction

You are given a dataset of ice cream sales per day. The task is to use an HMM to infer the weather conditions (sunny or rainy) based on sales data.

a) Define the initial transition and emission probabilities for the two weather states (sunny and rainy).

b) Apply the HMM to decode the most likely sequence of weather states using hmmdecode.m.

c) Train the HMM using hmmtrain.m to optimize transition and emission probabilities.

d) Re-run hmmdecode.m using the trained parameters.

e) Plot the results in four subplots:

  • Ice cream sales per day.

  • Predicted weather states before training.

  • Predicted weather states after training.

  • True weather states.

f) Plot estimated emission probabilities for each weather state in two separate graphs.

g) Compute the percentage of correctly classified weather states and evaluate the accuracy of the HMM.

New cards
3

HMM

New cards
4

HMM

New cards

Explore top notes

note Note
studied byStudied by 17 people
312 days ago
5.0(1)
note Note
studied byStudied by 38 people
379 days ago
5.0(1)
note Note
studied byStudied by 21 people
759 days ago
5.0(1)
note Note
studied byStudied by 56 people
798 days ago
5.0(4)
note Note
studied byStudied by 411 people
345 days ago
5.0(2)
note Note
studied byStudied by 20 people
898 days ago
5.0(1)
note Note
studied byStudied by 14 people
899 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (147)
studied byStudied by 56 people
850 days ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 16 people
87 days ago
5.0(1)
flashcards Flashcard (90)
studied byStudied by 26 people
422 days ago
5.0(2)
flashcards Flashcard (46)
studied byStudied by 5 people
395 days ago
5.0(1)
flashcards Flashcard (297)
studied byStudied by 602 people
832 days ago
5.0(2)
flashcards Flashcard (26)
studied byStudied by 3 people
815 days ago
5.0(1)
flashcards Flashcard (42)
studied byStudied by 11 people
548 days ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 7 people
638 days ago
5.0(1)
robot