I am stuck on Week 3’s Assignment (Course 3 - NLP Specialization). Link.
The issue is masking, I can’t figure out how to create a mask that excludes positives, especially in the structure provided. For reference, I am talking about the “mask_exclude_positives” variable.
kindly post the screenshot of the error you have encountered without posting any part of the grade function codes. Posting codes or link to assignment is against community guidelines.
There is no error. I can not seem to figure out how to mask the diagonal elements, excluding positives. I am posting for the first time about an assignment, but I figured it is not ok to post code, so I posted the link to the lecture instead to help anyone who has access to the course quickly browse their assignment submission.
please share the screenshot of the error you got. You only need to avoid screenshot of grade function codes not your error or if you have different output than expected than post the screenshot of your output.
See if this post comments helps you
compare your each step output with print with the post comment value, which ever is giving incorrect value.
Same post also address your concern on how to recall masked positives