C1_W4_test _approximation_knn_UNQ21

Was making a mistake in my code, probably a silly one as I am getting an output just not the correct one.
Can anyone help
Failed default_check.
Expected:
[51, 2478, 105],
but got:
[51, 701, 2140].

Failed default_check2.
Expected:
[992, 4750, 9486, 9101],
but got:
[8413, 2085, 4802, 5526].

This is the exact same output I am getting and I cannot figure out what am I doing wrong.
Were you able to solve the issue ?

1 Like

I submitted my assignment with:
0 Tests Passed
2 Tests Failed

in this last section of the assignment and still got 100/100 grade.

I am confused about what is happening here.

1 Like

I also get the same issues. Could someone help to solve this?

Did you solve this problem?

Hi,

Having the same issue. In the first test case the three tweets are equal after preprocessing, it is not possible for the algorithm to be wrong.

Yes, I did solve the problem.

Please share what was the problem.