# Model does not return target values

**URL:** <https://community.deeplearning.ai/t/model-does-not-return-target-values/383306>\
**Category:** Supervised ML: Regression and Classification\
**Tags:** week-module-1\
**Created:** [July 12, 2023, 4:22pm UTC](https://community.deeplearning.ai/t/model-does-not-return-target-values/383306 "2023-07-12T16:22:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_Helvey](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/sean_helvey/32/55606_2.png) [@Sean\_Helvey](https://community.deeplearning.ai/u/Sean_Helvey)\
**Post date:** [July 12, 2023, 4:22pm UTC](https://community.deeplearning.ai/t/model-does-not-return-target-values/383306/1 "2023-07-12T16:22:27Z")

</div>

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.

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

```

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

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [July 12, 2023, 4:49pm UTC](https://community.deeplearning.ai/t/model-does-not-return-target-values/383306/2 "2023-07-12T16:49:19Z")

</div>

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.
