Hey @Justin_Bloesch,
Welcome, and we are glad that you could become a part of our community
In this case, you need to get a clean copy of your assignment, and fill in your solutions in the code cells again. Instructions on how to do so, can be found here.
As to this, the grader rarely fails due to rounding-off errors. Note that in your implementation of get_country
, you are supposed to use embeddings
, i.e., the local variable which has been passed in as an argument to the function, but you have used the global variable word_embeddings
, and hence, the test-cases are failing.
Let us know if this resolves your errors.
P.S. - Sharing solution code publicly is strictly against the community guidelines. Please keep this in mind for future references. As of now, no harm done, I have removed the solution code.
Cheers,
Elemento