Problem with vectorization

Problem resolved, Thank you

Hi @Med-akraou,

Thanks for organizing the question so that we can follow easily, but I would still hope to see all the print-out and the full error traceback when you run the cell that contains that problematic gradient_descent call. Would you please take screenshots of the whole output from that cell, and share here?

Btw, please use this version of the line:

print(X[pos,:].shape , X[neg,:].shape , w.shape, b, y.shape)


PS: Just in case you may ask this, please don’t share the assignment code.

Hi @rmwkwok , the problem is resolved, I’m going to remove the issue
thank you

1 Like

Good job solving it on your own!