GoConqr has a new look! Let us know what you think.

Notes

Lecture1 notes

Faiga Alawad English 2 pages

Content of the notes (2)

Page 1

If we want to penalise the formula why to use the absolute value rather than the square?

L1 constraint is another name for the Lasso, while l2 might describe the ridge regression

Ridge is like the real ridge of the mountain, while in the same line you will always get the same values

There're some alternatives for finding the budget with cross-validation is by using Baysian- Lablasian

Are Baysian methods always computationally demanding?

Relaxed Lasso: think about the bias-variance trade-off

Trying to solve the Lasso problem will make us run into the problem of calculating the gradient for zero which is not defined so instead in the lecture the prof. use math formulas for the subgradient

Page 2

Excerise

- Generate random weights with many of them set to zero

- Generate fake data

- Write out coordinate descent algorithm for Lasso

- Show lambda = 0 and compare with ground truth

- Solve also with other lambdas and compare

- Play with numbers of features versus number of data points (the 'width' of the data) as well as the strength of the non-zero weights and the noise term

Information

Description
Note on Lecture1 notes, created by Faiga Alawad on 15/01/2019.
Created by
Faiga Alawad
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?