Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assuming that there are 3 m&m candy bottles (labeled B1, B2, B3) with red, green and yellow colors, one of the candies from 3 bottles

Assuming that there are 3 m&m candy bottles (labeled B1, B2, B3) with red, green and yellow colors, one of the candies from 3 bottles will be randomly taken out in a series. Given the transition probability matrix A, emission probability B and initial probability π as follows, if observation sequence is red-red-yellow-green-yellow, write python program by the functions from "hmmlearn" model to find probability of observation sequence P(rrygy), and what most likely bottles in series they are coming from.

Transition matrix A (to)B1 (to)B2 (to)B3 (from)B1 0.3 0.2 0.5 (from)B2 0.1 0.3 0.6 (from)B3 0.7 0.25 0.05 B1 Emission matrix

Transition matrix A (to)B1 (to)B2 (to)B3 (from)B1 0.3 0.2 0.5 (from)B2 0.1 0.3 0.6 (from)B3 0.7 0.25 0.05 B1 B2 B3 Emission matrix B red green yellow 0.8 0.1 0.1 0.2 0.4 0.4 0.15 0.25 0.6 Initial Probabilities Prob. B3 B1 B2 0.4 0.35 0.25

Step by Step Solution

3.38 Rating (164 Votes )

There are 3 Steps involved in it

Step: 1

Sony question Seth Eminem plan candies in 6 colours brown green Orange red blue and yellow assume th... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Corporate Finance What Companies Do

Authors: John Graham, Scott Smart

3rd edition

9781111532611, 1111222282, 1111532613, 978-1111222284

More Books

Students also viewed these Physics questions