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

Week 1 incorrect answers in test_my_bag_of_words #70

Closed
MohannadEhabBarakat opened this issue Apr 27, 2020 · 2 comments
Closed

Week 1 incorrect answers in test_my_bag_of_words #70

MohannadEhabBarakat opened this issue Apr 27, 2020 · 2 comments

Comments

@MohannadEhabBarakat
Copy link

In the function test_my_bag_of_words, answers is defined as a list of list while it should be just list

Original:
answers = [[1, 1, 0, 1]]

Should be:
answers = [1, 1, 0, 1]
as it is a return of my_bag_of_words function which takes text as input and returns np array

@MohannadEhabBarakat
Copy link
Author

will after working throw the code I realized it is my mistake.

@alimuttaleb
Copy link

alimuttaleb commented Apr 27, 2020 via email

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

2 participants