C5 W3 A2: Not enough values to unpack (expected 2, got 1)

When comes to the C4W3 exercise 4 “create_training_example”, I’ve been stuck with this issue for several days. Appreciated for any help. Thank you.

I think you’re referring to C5 W3 A2. I’ve edited the thread title.

The error thrown by insert_ones() says that the problem is with the ‘y’ variable.
It should be size (1, Ty)

1 Like