W2_A2_Ex-8_AttributeError_numpy.ndarray


Try to retrieve the “b” saved in a dictionary, but it gave me this error. Can anyone help, thank you.

Hello,

Double check your code. In Y_prediction_train you are using w.b instead of w,b

Best,
Saif.

Thank you for capturing the problem!