IIIT-G Assignment 2 Solved

25.00 $

Category: Tags: ,
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: zip solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

Rate this product

Assignment -2

1. Consider any dataset. You can create own or use any publicly available dataset. Pretend the goal is to predict the target variable.

(a) Run ridge regression (RR) on the data.

  1. Find the λ value that minimizes the cross validated error/training error.
  2. Provideplotsforboththecrossvalidatederror/trainingerrorandthecoefficientsas functions of λ .

(b) Run lasso on the data.

  1. Find the λ value that minimizes the cross validated error/training error.
  2. Provideplotsforboththecrossvalidatederror/trainingerrorandthecoefficientsas functions of λ .

(c) Examine the model coefficients for the chosen λ. You can use either pair plot or bar

diagram to visualize the model coefficients.

—– Page 1 of 1 —–

  • Assignment-2-25.01.2021-zb7abk.zip