Assignment 3 - UNQ_C3 - Z_wb

What do we actually need to compute for Z_wb?

Hello @ajaykumar3456,

It has the same definition as in exercise 2 (UNQ_C2), and if you go back to the description of exercise 2, you can see this:

Hope this helps!

Raymond

Thanks, Raymond. I finished it

That’s good!

Raymond

Hey @rmwkwok instead of calculating Z_wb, can’t we just use f_wb = sigmoid(np.dot(X[i],w)+b) directly and avoid the extra loop?