week3PracticeLab-Ex2

1 Like

Hey @anjalisreerekha,
Can you please DM your code for the function to me? For that, click on my name and select “Message”.

Cheers,
Elemento

Hey @anjalisreerekha,
Please take a close look at z_wb_ij. Try to print out the shapes of X[i] and w, and you will get to realise the error. It seems like you have inter-mixed vectorization with for-loop based approach. Also, note the addition of the bias term. You have added it n+1 times, and it is supposed to be added only once. Try to correct your errors based on these suggestions, and if you are unable to do so, let us know, we will help you out.

Cheers,
Elemento

1 Like

Thank you so much Sir

Hey @anjalisreerekha,
I am glad I could help.

P.S. - No need to call me Sir, I am also a learner just like you :nerd_face:

Cheers,
Elemento