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 18 people
899 days ago
5.0(1)
note Note
studied byStudied by 32 people
794 days ago
5.0(1)
note Note
studied byStudied by 1 person
28 days ago
5.0(1)
note Note
studied byStudied by 103 people
856 days ago
5.0(1)
note Note
studied byStudied by 3 people
761 days ago
5.0(1)
note Note
studied byStudied by 10 people
693 days ago
4.5(2)
note Note
studied byStudied by 39 people
953 days ago
5.0(1)
note Note
studied byStudied by 11 people
776 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (33)
studied byStudied by 3 people
792 days ago
5.0(1)
flashcards Flashcard (62)
studied byStudied by 5 people
765 days ago
5.0(1)
flashcards Flashcard (82)
studied byStudied by 10 people
56 days ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 5 people
171 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 115 people
507 days ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 12 people
468 days ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 2 people
661 days ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 38 people
8 days ago
5.0(1)
robot