Question: In the lecture we discussed a simple regression problem, where points are coming from the line y = 2 x + 1 , plus some

In the lecture we discussed a simple regression problem, where points are coming from the line y=2x+1, plus some noise. For this question you are asked to:
(i) Generate data points coming from a quadratic function: y=x2+3x+10, plus some noise.
(ii) Modify the PyTorch model from the class in order for it to learn a quadratic function of the form y=ax2+bx+c .
(iii) Train your model and report what values it computes. (Sanity check: These sould be close to -1,3,10)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!