Model does not return target values

In the Optional Lab: Model Representation, the comments in cell 8 say that the function compute_model_output returns “target values” but f_wb is essentially y hat or the predicted output right, not the actual target values. We just had a quiz explaining this.

    Returns
      y (ndarray (m,)): target values

Please let me know if I am mistaken. Thank you!!

You are correct, that’s a typo in the notebook. The doctext should refer to either y-hat or f_wb.

I’ll submit a ticket to the course staff.

2 Likes