Week 1 homework problem: prob_of_X_given_C grading error

I’m running my code and the output is the same exact as the expected output. The grading is giving the error “There was a problem grading your submission. Details:
cannot unpack non-iterable params_gaussian object.” My code is running without any issues so I’m not sure why it is giving an error message, does anyone know how to fix this?


I’m having 2 more issues. For the problem: predict_breed I’m having the same exact issue with the prob_of_X_given. I also am having difficulty with compute_training_params, where I have the correct output, but it gives an error message: “There was a problem grading your submission. Details:
asdict() should be called on dataclass instances”
I’m not sure what to do, help would be appreciated.

I’ve now fixed my code. The issue was that I was not using the params classes.