Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit b07837d

Browse files
author
EastBayEv
committed
add lasso, ridge, elasticnet definitions
1 parent 0fbe1fa commit b07837d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

03-lasso.Rmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ load("data/preprocessed.RData")
1818

1919
## Overview
2020

21+
* LASSO = sets Beta coefficients of unrelated (to Y) predcitors to zero
22+
23+
* RIDGE = sets Beta coefficients of unrealted (to Y) predictors NEAR ZERO but does not remove them
24+
25+
* ELASTICNET = a combination of LASSO and RIDGE
26+
2127
Below is an refresher of ordinary least squares linear (OLS) regression that predicts age using the other variables as predictors.
2228

2329
```{r}

0 commit comments

Comments
 (0)