Dl5 week 2 emoji

Cell #8. Can’t compile the student’s code. Error: KeyError(‘father’,)

that s the grader output. I cannot find where is the default

Hi @kvamvake,

‘father’ and ‘mother’ are two args pass to cosine_similarity() function called within the print() statement for the first test case.
Please check the code for the cosine_similarity() and make sure all the calculations follow the formulas given in the instructions note.