Skip to content

Commit 2116051

Browse files
authored
Merge pull request #299 from slds-lmu/new_chunks
Add new chapters to regu and advrisk and add jupyter notebook solutio…
2 parents 0054630 + 8450412 commit 2116051

19 files changed

+115
-63
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Chapter 11.03: L2- and L1 Loss"
3+
weight: 11003
4+
---
5+
In this section, we revisit the \\(L2\\) and \\(L1\\) loss and present their risk minimizers -- the conditional mean -- and optimal constant model -- the empirical mean of observed target values is derived for the \\(L2\\) loss. The conditional median -- and optimal constant model -- the empirical median of observed target values is introduced for the \\(L1\\) loss.
6+
7+
<!--more-->
8+
9+
### Lecture video
10+
11+
{{< video id="agQQzTI_6HI" >}}
12+
13+
### Lecture slides
14+
15+
{{< pdfjs file="https://github.com/slds-lmu/lecture_sl/raw/main/slides-pdf/slides-advriskmin-regression-l2-l1.pdf" >}}

content/chapters/11_advriskmin/11-03-regression-l2.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

content/chapters/11_advriskmin/11-04-regression-l1.md renamed to content/chapters/11_advriskmin/11-04-regression-l1-deepdive.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Chapter 11.04: L1 Loss"
2+
title: "Chapter 11.04: L1 Loss Deepdive"
33
weight: 11004
44
---
55
In this section, we revisit \\(L1\\) loss and derive its risk minimizer -- the conditional median -- and optimal constant model -- the empirical median of observed target values.
@@ -12,4 +12,4 @@ In this section, we revisit \\(L1\\) loss and derive its risk minimizer -- the c
1212

1313
### Lecture slides
1414

15-
{{< pdfjs file="https://github.com/slds-lmu/lecture_sl/raw/main/slides-pdf/slides-advriskmin-regression-l1.pdf" >}}
15+
{{< pdfjs file="https://github.com/slds-lmu/lecture_sl/raw/main/slides-pdf/slides-advriskmin-regression-l1-deepdive.pdf" >}}

content/chapters/15_regularization/15-02-l1l2.md

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Chapter 15.02: Ridge Regression"
3+
weight: 15002
4+
---
5+
We introduce Ridge regression as a key approach to regularizing linear models.
6+
7+
<!--more-->
8+
9+
### Lecture video
10+
11+
{{< video id="yeN-xRfheYU" >}}
12+
13+
### Lecture slides
14+
15+
{{< pdfjs file="https://github.com/slds-lmu/lecture_sl/raw/main/slides-pdf/slides-regu-l2.pdf" >}}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Chapter 15.03: Lasso Regression"
3+
weight: 15003
4+
---
5+
We introduce Lasso regression as a key approach to regularizing linear models.
6+
7+
<!--more-->
8+
9+
### Lecture video
10+
11+
{{< video id="yeN-xRfheYU" >}}
12+
13+
### Lecture slides
14+
15+
{{< pdfjs file="https://github.com/slds-lmu/lecture_sl/raw/main/slides-pdf/slides-regu-l1.pdf" >}}

content/chapters/15_regularization/15-03-l1vsl12.md renamed to content/chapters/15_regularization/15-04-l1vsl12.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Chapter 15.03: Lasso vs Ridge Regression"
3-
weight: 15003
2+
title: "Chapter 15.04: Lasso vs Ridge Regression"
3+
weight: 15004
44
---
55
This section provides a detailed comparison between Lasso and Ridge regression.
66

content/chapters/15_regularization/15-04-enetlogreg.md renamed to content/chapters/15_regularization/15-05-enetlogreg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Chapter 15.04: Elastic Net and Regularization for GLMs"
3-
weight: 15004
2+
title: "Chapter 15.05: Elastic Net and Regularization for GLMs"
3+
weight: 15005
44
---
55
In this section, we introduce the elastic net as a combination of Ridge and Lasso regression and discuss regularization for logistic regression.
66

content/chapters/15_regularization/15-05-l0.md

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Chapter 15.06: Other Types of Regularization"
3+
weight: 15006
4+
---
5+
In this section, we introduce other regularization approaches besides the important special cases \\(L1\\) and \\(L2\\).
6+
7+
<!--more-->
8+
9+
### Lecture video
10+
11+
{{< video id="gw6yLFoQzdQ" >}}
12+
13+
### Lecture slides
14+
15+
{{< pdfjs file="https://github.com/slds-lmu/lecture_sl/raw/main/slides-pdf/slides-regu-others.pdf" >}}

0 commit comments

Comments
 (0)