My code doesnt give error but for test cases 2 tests are failed out of 16, where Y matrix size is coming different
Wrong shape for Y matrix.
Expected: (4932, 300).
Got: (4947, 300).
Wrong shape for Y matrix.
Expected: (1438, 300).
Got: (1445, 300).
14 Tests passed
2 Tests failed
You need to provide more information on the errors you get and for which specific Exercises and assignment, so relevant mentors maybe can help you!
Its not error, its just the output is coming wrong for 2 test cases as mentioned above. Its the first problem, where I am writing function get_matrices.
Okay, I solved it. So instead of checking for english and french words in embeddimg vectors, I was looking for them in dictionary which is incorrect.
1 Like