Hello everyone, what is the function of the f_wb = np.zeros(m) in the function definition.
It defines a correctly-sized vector of zeros for the f_wb variable, so that the for-loop which follows can over-write the zeros with the correct value for each example.