Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in "Coursera-Deep-Learning/Natural Language Processing with Probabilistic Models/Week 2 - Part of Speech Tagging and Hidden Markov Models/C2_W2_Assignment.ipynb" #4

Open
Aayush2542001 opened this issue Jun 24, 2022 · 0 comments

Comments

@Aayush2542001
Copy link

Exercise 07:

Replace line
pred[m - 1] = states[k]
with
pred[m - 1] = states[z[m - 1]]

and line
for i in range(len(corpus) - 1, -1, -1):
with
for i in range(len(corpus) - 1, 0, -1):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant