Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Overall result for this test case: Failed. We are executing your code with: python viterbi.py [ input ] Supplied testing set: 7 9 0 0

Overall result for this test case: Failed.
We are executing your code with: python viterbi.py [input]
Supplied testing set:
79
00 X X X 0000
X 00 X X X 000
X 00 X X 0000
0 X 000 X 000
0 X 0 X 000 X X
X 0 X 0 X X X X 0
X 00 X 0000 X
17
0010
1100
1001
0110
1100
0101
0010
0100
0000
0000
0001
1001
1000
1000
0010
0000
1110
0.5
Expected Output:
[array([[0.00164474,0.00164474,0.,0.,0.,
0.00164474,0.00164474,0.00164474,0.00164474],
[0.,0.00164474,0.00164474,0.,0.,
0.,0.00164474,0.00164474,0.00164474],
[0.,0.00164474,0.00164474,0.,0.,
0.00164474,0.00164474,0.00164474,0.00164474],
[0.00164474,0.,0.00164474,0.00164474,0.00164474,
0.,0.00164474,0.00164474,0.00164474],
[0.00164474,0.,0.00164474,0.,0.00164474,
0.00164474,0.00164474,0.,0.],
[0.,0.00164474,0.,0.00164474,0.,
0.,0.,0.,0.00164474],
[0.,0.00164474,0.00164474,0.,0.00164474,
0.00164474,0.00164474,0.00164474,0.]]), array([[5.13980263e-05,1.02796053e-04,0.00000000e+00,0.00000000e+00,
0.00000000e+00,3.42653509e-05,1.02796053e-04,5.13980263e-05,
3.42653509e-05],
[0.00000000e+00,5.13980263e-05,3.42653509e-05,0.00000000e+00,
0.00000000e+00,0.00000000e+00,3.42653509e-05,3.42653509e-05,
5.13980263e-05],
[0.00000000e+00,3.42653509e-05,5.13980263e-05,0.00000000e+00,
0.00000000e+00,2.56990132e-05,1.02796053e-04,3.42653509e-05,
5.13980263e-05],
[1.02796053e-04,0.00000000e+00,1.02796053e-04,5.13980263e-05,
5.13980263e-05,0.00000000e+00,5.13980263e-05,5.13980263e-05,
3.42653509e-05],
[1.02796053e-04,0.00000000e+00,3.42653509e-05,0.00000000e+00,
5.13980263e-05,

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_step3

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

More Books

Students also viewed these Databases questions