Deep leaning specialization week2 assignment1

I finished all the code.But the result for predict function is wrong. I debugged many times, but could not find the problem. (Wrong values for pred. [[1. 0. 0.]] != [[1.0, 0.0, 1.0]]
)And in exercise 8, the final model tells an error. Also, I tried to debug it, but could not find where it went wrong. Can someone tell me? thanks. Below is the report:
ValueError: shapes (1,4) and (2,3) not aligned: 4 (dim 1) != 2 (dim 0)

hey Feng,

Please share the screenshot of your error at both places where it shows error and where you are not getting expected output. Don’t share the code.


Thank you for the quick response. I tried three more times and figured it out myself.