Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6905073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:08:22+00:00 2026-05-27T08:08:22+00:00

I was taught HMM and given this homework problem. I understood a part of

  • 0

I was taught HMM and given this homework problem. I understood a part of it, but I’m not sure if its correct. The problem is:

Consider a different game where the dealer is not flipping a coin,
but instead rolling
a three-sided die with labels 1, 2, and 3. (Try not to think about what a three-sided
die might look like.) The dealer has two loaded dice D1 and D2. For each die Di, the
probability of rolling the number i is 1/2, and the probability of each of the other two
outcomes is 1/4. At each turn, the dealer must decide whether to (1) keep the same
die, (2) switch to the other die, or (3) end the game. He chooses (1) with probability
1/2 and each of the others with probability 1/4. At the beginning the dealer chooses
one of the two dice with equal probability.

  • Give an HMM for this situation. Specify the alphabet, the states, the transition
    probabilities, and the emission probabilities. Include a start state start, and assume
    that the HMM begins in state start with probability 1. Also include an end
    state end.

  • Suppose that you observe the following sequence of die rolls: 1 1 2 1 2 2. Find a
    sequence of states which best explains the sequence of rolls. What is the probability
    of this sequence? Find the answer by completing the Viterbi table. Include
    backtrack arrows in the cells so you can trace back the sequence of states. Some of
    the following facts may be useful:

    log2(0) = −∞
    log2(1/4) = −2
    log2(1/2) = −1
    log2(1) = 0

  • There are actually two optimal sequences of states for this sequence of die rolls.
    What is the other sequence of states?

If I’m not wrong for the first part I have to do something like here http://en.wikipedia.org/wiki/Hidden_Markov_model#A_concrete_example But I didn’t get what is to assume start with probability 1.

Also, I’m not sure what I have to do for Viterbi table in the second part of the question. If any body can give me some hint or clue, that will be great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:08:23+00:00Added an answer on May 27, 2026 at 8:08 am

    To assume your starting probability is one:
    In HMM you either have a fixed starting-state or a probability-distribution over all states which states how likely it is to start in state X. To assume that your starting probability of a given state is 1 equals the first alternativ.

    Viterbi-algorithm:
    In the viterbi-matrix the ith row offten corresponds to the ith states and the jth column corresponds to the prefix of lenth j of your emitted symbol. In each entry (i,j) is the maximal probability to that you have seen prefix j already and your are in state i.

    For your backtracking you need to keep track for every (i,j)-cell which maximal precursor was involved in the computation of the (i,j)-cell. If you have this information you can backtrack from the cell with the highest value in the last column to the beginning. Reverse this backtrack and you got your viterbi-path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a self-taught developer and, quite frankly, am not all that great at figuring
I taught i had a clear view of the difference between these, but giving
I'm a self taught developer and ive always been told not to use SELECT
I just read this nice article that taught me how to use inheritance (Table-per-hirarchy).
We are always taught to make sure we use a break in switch statements
I was taught to do: <a href=http://www.google.com/>http://www.google.com/</a> as opposed to: <a href=http://www.google.com/>Google</a> Is this
This post taught me how to initialize static std::map. I could use this method
In the course I'm taking they taught me to use Response.Redirect like this: Response.Redirect(string.Format(name.aspx?sb=+bts+&del=+delimiter));
I'm a mostly self taught programmer and one aspect I've never really understood is
This is my first self taught project .. in this project in webview i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.