# Machine learning regression

**URL:** <https://community.deeplearning.ai/t/machine-learning-regression/867883>\
**Category:** Supervised ML: Regression and Classification\
**Tags:** week-module-2\
**Created:** [August 6, 2025, 9:14am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883 "2025-08-06T09:14:37Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamshed\_Ali](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/jamshed_ali/32/114627_2.png) [@Jamshed\_Ali](https://community.deeplearning.ai/u/Jamshed_Ali)\
**Post date:** [August 6, 2025, 9:14am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/1 "2025-08-06T09:14:37Z")

</div>

lab 2 practice lab of Linear Regression, I submit perfectly everything after that I got 0 marks what is the reason plz,

---

<div class="post-metadata">

**Author:** ![Girijesh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/girijesh/32/37283_2.png) [@Girijesh](https://community.deeplearning.ai/u/Girijesh)\
**Post date:** [August 6, 2025, 9:18am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/2 "2025-08-06T09:18:34Z")

</div>

Dear @Jamshed_Ali,

Kindly share a screenshot of the error message so I can assist you more effectively.

–  
_Keep Learning AI with DeepLearning.AI_ - Girijesh

---

<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:** [August 6, 2025, 2:20pm UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/3 "2025-08-06T14:20:40Z")

</div>

Please post a screen capture image showing the detailed feedback from the grader.

Note that the grader uses different test cases than those in the notebook.  
Passing the notebook’s tests is not sufficient to prove your code is perfect.

---

<div class="post-metadata">

**Author:** ![Jamshed\_Ali](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/jamshed_ali/32/114627_2.png) [@Jamshed\_Ali](https://community.deeplearning.ai/u/Jamshed_Ali)\
**Post date:** [August 7, 2025, 4:04am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/4 "2025-08-07T04:04:45Z")

</div>

![image](https://global.discourse-cdn.com/dlai/original/3X/1/7/1738f04ce126fd958fb962ec523cefacfd00a000.png) this is the image of my code If you ask I share you all the screen shots

---

<div class="post-metadata">

**Author:** ![Jamshed\_Ali](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/jamshed_ali/32/114627_2.png) [@Jamshed\_Ali](https://community.deeplearning.ai/u/Jamshed_Ali)\
**Post date:** [August 7, 2025, 4:07am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/5 "2025-08-07T04:07:07Z")

</div>

than how I will complete this course and get certificate ??

---

<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:** [August 7, 2025, 4:14am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/6 "2025-08-07T04:14:41Z")

</div>

We did not ask to see your code.

We asked to see the detailed feedback you get from the grader. It will contain information about why it is giving you zero points.

---

<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:** [August 7, 2025, 4:15am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/7 "2025-08-07T04:15:00Z")

</div>

> [@Jamshed\_Ali](#):
>
> than how I will complete this course and get certificate ??

You will fix your notebook so that the grader gives you a passing score. We will help you with this.

---

<div class="post-metadata">

**Author:** ![Jamshed\_Ali](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/jamshed_ali/32/114627_2.png) [@Jamshed\_Ali](https://community.deeplearning.ai/u/Jamshed_Ali)\
**Post date:** [August 7, 2025, 4:24am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/8 "2025-08-07T04:24:13Z")

</div>

![image](https://global.discourse-cdn.com/dlai/original/3X/3/c/3ca826f2d1bd2d717034bf90426cf48ad92b2746.png) see, if there are any mistake let me guide please..

---

<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:** [August 7, 2025, 5:10am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/9 "2025-08-07T05:10:31Z")

</div>

That error message means that you have deleted the comment line…

```auto
# UNQ_C2

```

… from the cell that contains one of the graded functions.

The grader uses this tag when it tests your code.

---

<div class="post-metadata">

**Author:** ![Jamshed\_Ali](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/jamshed_ali/32/114627_2.png) [@Jamshed\_Ali](https://community.deeplearning.ai/u/Jamshed_Ali)\
**Post date:** [August 7, 2025, 5:37am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/10 "2025-08-07T05:37:32Z")

</div>

than how to fix it ? I don’t know which comment line did i remove and from where ??

---

<div class="post-metadata">

**Author:** ![rmwkwok](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/rmwkwok/32/126977_2.png) [@rmwkwok](https://community.deeplearning.ai/u/rmwkwok)\
**Post date:** [August 7, 2025, 5:58am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/11 "2025-08-07T05:58:02Z")

</div>

For the exercise 2 of Course 1 Week 2 assignment, it’s

 ![image](https://global.discourse-cdn.com/dlai/original/3X/a/3/a389ec1f376b99416ff55797e07b0f0d1c8570b6.png)

The pattern is quite obvious: it’s always in the first two lines of exercise cell and contains the exercise’s number and function’s name.

If the problem persists, you might also follow [these steps](https://community.deeplearning.ai/t/downloading-your-notebook-and-refreshing-your-workspace/163942#refreshing-your-workspace-2) to get a new copy of the assignment with all the tags in the right places.

Cheers,

Raymond

---

<div class="post-metadata">

**Author:** ![Jamshed\_Ali](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/jamshed_ali/32/114627_2.png) [@Jamshed\_Ali](https://community.deeplearning.ai/u/Jamshed_Ali)\
**Post date:** [August 7, 2025, 6:43am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/12 "2025-08-07T06:43:42Z")

</div>

aaw Thank u so Much finally I did it, I was trying for last 10, 15 days

---

<div class="post-metadata">

**Author:** ![rmwkwok](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/rmwkwok/32/126977_2.png) [@rmwkwok](https://community.deeplearning.ai/u/rmwkwok)\
**Post date:** [August 7, 2025, 11:12am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/13 "2025-08-07T11:12:26Z")

</div>

You are welcome, @Jamshed_Ali 😉 😉

---

<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:** [August 12, 2025, 8:04am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/15 "2025-08-12T08:04:35Z")

</div>

Unlisted on August 12, 2025, 8:04am UTC



---

<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:** [August 12, 2025, 8:04am UTC](https://community.deeplearning.ai/t/machine-learning-regression/867883/16 "2025-08-12T08:04:44Z")

</div>

Listed on August 12, 2025, 8:04am UTC


