exactly this help me to solve my issue too.
I used the embeddings within the get_country, i even rebooted but nothing solve the problem. I found another way to resolve this is by adding a round function for the variable âsimilarityâ to brute force another digit on the mantissa, which matched the given answer
I canât get points from the ex-3 and 4.
I am not using word_âŚ
I donât get whyâŚ
Edit⌠global variables sâŚk. There was one left⌠Thanks for the advice.
I did the same. Restart from scratch and still have issue. In addition some cells are not fully downloaded⌠For example in cell 14, get_accuracy function as shown below. The comment ended unexpectedly and there should be a âOutputâ section that are missing. Please note this is extracted from a new file before any edit.
'''
Input:
word_embeddings: a dictionary where the key is a word and the value is its embedding
data: a pandas data frame as
'''
Hi. I am facing a lot of issue in this C3 graded output. Have replaced the word_embeddings with embeddings but still getting embeddings as undefined. Please fix my issue. Will be grateful. Also, somehow getting not egypt but Tunsing. Please have a look at my pdf output. Thanks
C3 Graded Output.pdf (3.9 MB)
A simple method to test if your code is working correctly, go to the kernel and give
âRestart and clear outputâ. Then run the first codes needed to import the library and the dataset.
Then run the graded function block and the code block of the unit test. If it passes, your code is good to go and doesnât depend on global variables.
Hi, I tried that but now the error comes the " name âembeddingsâ is not defined".
I am facing this issue from last 2 weeks. I have paid for this course and my time is running. Please someone help me with this graded block 3 and 4. I will be grateful.
For anyone who finds this thread later, here is a more concise description of the error.