[Solved] DeepLearning HW1

$25

File Name: DeepLearning_HW1.zip
File Size: 150.72 KB

SKU: [Solved] DeepLearning HW1 Category: Tag:
5/5 - (1 vote)
  1. Your task is to find a linear approximation of the function 1 + x, x [0,1]. Your homework should contain the following steps:
  2. Generate N = 10000 random numbers from [0,1]:

x1,x2,,xN [0,1],

and then obtain their labels: yi = 1 + xi, i = 1,2,,N.

  1. Do linear regression on your generated data using the closed formsolution.
  2. Do linear regression on your generated data using the library sklearn.
  3. Do linear regression on your generated data implementing the gradi-ent descent algorithm by yourself. e*) Do linear regression on your generated data using tensorflow.
  4. Sketch the graphs of all approximations on one graph.
  5. Compare all solutions with the first degree Taylor approximation of

the function 1 + x.

2*. a) How will you define polynomial regression inspired from linear regression?

  1. b) Can you implement the polynomial regression using linear regression?

Remarks:

  1. Exercises with asterisks are supplementary and will not be graded.
  2. Dont forget about train, validation and test sets.
  3. Use jupyter notebook for writing your code.
  4. You can use google for any question, but dont do copies of others codes.
  5. You can ask me whatever you want and whenever you want.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] DeepLearning HW1
$25