Help me in Week1 C3 assignment of Specialization Mathematics for ML and DS by deeplearning.ai

Anyone that could solve it before in our assignment or help me to understand this piece of code?

You posted this in the General Discussions category. Please move it to the right course category as described here and our mentors will be happy to assist you.

Furthermore, sharing your code is not allowed by the community code of conduct. Please remove your code. Sharing your full error is enough (in most cases) to find out the bug in a code.

Thanks!
I’ll also share it there with the deleted pics of code snaps.

I suspect that the match/case statement was not constructed properly to create the prior probability_f objects. Could you do a quick test to see if your match/case statement actually works?

I solved that issue.
Thanks

1 Like

Just for the people who encounter the same issue in the future, how exactly did you solve it?