Submitted my assignment and all grades looks o , the expected output matches with the results for all questions.
All the questions shows the same graded o/p
There was a problem compiling the code from your notebook. Details:
‘dict’ object has no attribute ‘mu’
For most of this assignment, the variable mu is a float. So check for where you are using mu.
However, in the prob_of_X_given_C() function, ‘mu’ is used as both a dictionary key and as a floating point value.
So if you’re getting an error about ‘dict’ object has no atrribute ‘mu’, I suspect there may be a problem in how you’re using ‘mu’ as dictionary key in that function.