Skip to content

Commit

Permalink
week 6 tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
dicook committed Mar 29, 2024
1 parent 36adfc8 commit e43960b
Show file tree
Hide file tree
Showing 21 changed files with 14,241 additions and 1,346 deletions.
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ project:
- "!quizzes/"
- "!assignments/"
- "next-time*"
- "week5/tutorial*"
- "!data/ACIC23-competition/"
output-dir: docs
resources:
- "assets/*"
Expand Down
Binary file added docs/images/p_forest_detourr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,680 changes: 1,396 additions & 1,284 deletions docs/search.json

Large diffs are not rendered by default.

108 changes: 58 additions & 50 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,108 +9,116 @@
<lastmod>2024-02-05T21:28:13.682Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week6/index.html</loc>
<lastmod>2024-02-05T21:26:36.255Z</lastmod>
<loc>https://iml.numbat.space/week6/tutorial.html</loc>
<lastmod>2024-03-29T01:27:47.522Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week5/slides.html</loc>
<lastmod>2024-03-25T00:16:08.487Z</lastmod>
<loc>https://iml.numbat.space/week6/tutorialsol.html</loc>
<lastmod>2024-03-29T01:27:47.522Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week4/tutorial.html</loc>
<lastmod>2024-03-18T01:23:19.973Z</lastmod>
<loc>https://iml.numbat.space/week5/tutorial.html</loc>
<lastmod>2024-03-22T04:38:32.315Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week4/tutorialsol.html</loc>
<lastmod>2024-03-18T01:23:19.973Z</lastmod>
<loc>https://iml.numbat.space/week5/tutorialsol.html</loc>
<lastmod>2024-03-22T04:38:32.315Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week4/index.html</loc>
<lastmod>2024-03-15T04:09:22.102Z</lastmod>
<loc>https://iml.numbat.space/week5/index.html</loc>
<lastmod>2024-03-25T00:29:39.940Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week3/slides.html</loc>
<lastmod>2024-03-10T05:23:01.954Z</lastmod>
<loc>https://iml.numbat.space/week4/slides.html</loc>
<lastmod>2024-03-21T01:23:36.055Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week2/tutorial.html</loc>
<lastmod>2024-03-08T07:27:48.745Z</lastmod>
<loc>https://iml.numbat.space/week3/tutorial.html</loc>
<lastmod>2024-03-18T01:22:38.289Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week2/tutorialsol.html</loc>
<lastmod>2024-03-08T07:27:48.745Z</lastmod>
<loc>https://iml.numbat.space/week3/tutorialsol.html</loc>
<lastmod>2024-03-18T01:22:38.289Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week2/index.html</loc>
<lastmod>2024-03-03T07:54:29.938Z</lastmod>
<loc>https://iml.numbat.space/week3/index.html</loc>
<lastmod>2024-03-10T04:30:28.678Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week11/index.html</loc>
<lastmod>2024-02-05T21:31:46.270Z</lastmod>
<loc>https://iml.numbat.space/week2/slides.html</loc>
<lastmod>2024-03-19T04:48:10.743Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week1/tutorial.html</loc>
<lastmod>2024-02-21T23:44:11.489Z</lastmod>
<loc>https://iml.numbat.space/week12/index.html</loc>
<lastmod>2024-02-05T21:32:06.286Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week1/tutorialsol.html</loc>
<lastmod>2024-02-21T23:44:11.489Z</lastmod>
<loc>https://iml.numbat.space/week10/index.html</loc>
<lastmod>2024-02-05T21:30:53.696Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week1/index.html</loc>
<lastmod>2024-02-18T03:40:04.710Z</lastmod>
<loc>https://iml.numbat.space/week1/slides.html</loc>
<lastmod>2024-03-16T20:01:47.880Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/resources.html</loc>
<lastmod>2024-02-18T01:55:28.455Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/index.html</loc>
<lastmod>2024-03-25T00:28:25.606Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/resources.html</loc>
<lastmod>2024-02-18T01:55:28.455Z</lastmod>
<loc>https://iml.numbat.space/week1/index.html</loc>
<lastmod>2024-02-18T03:40:04.710Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week1/slides.html</loc>
<lastmod>2024-03-16T20:01:47.880Z</lastmod>
<loc>https://iml.numbat.space/week1/tutorialsol.html</loc>
<lastmod>2024-02-21T23:44:11.489Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week10/index.html</loc>
<lastmod>2024-02-05T21:30:53.696Z</lastmod>
<loc>https://iml.numbat.space/week1/tutorial.html</loc>
<lastmod>2024-02-21T23:44:11.489Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week12/index.html</loc>
<lastmod>2024-02-05T21:32:06.286Z</lastmod>
<loc>https://iml.numbat.space/week11/index.html</loc>
<lastmod>2024-02-05T21:31:46.270Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week2/slides.html</loc>
<lastmod>2024-03-19T04:48:10.743Z</lastmod>
<loc>https://iml.numbat.space/week2/index.html</loc>
<lastmod>2024-03-03T07:54:29.938Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week3/index.html</loc>
<lastmod>2024-03-10T04:30:28.678Z</lastmod>
<loc>https://iml.numbat.space/week2/tutorialsol.html</loc>
<lastmod>2024-03-08T07:27:48.745Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week3/tutorialsol.html</loc>
<lastmod>2024-03-18T01:22:38.289Z</lastmod>
<loc>https://iml.numbat.space/week2/tutorial.html</loc>
<lastmod>2024-03-08T07:27:48.745Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week3/tutorial.html</loc>
<lastmod>2024-03-18T01:22:38.289Z</lastmod>
<loc>https://iml.numbat.space/week3/slides.html</loc>
<lastmod>2024-03-10T05:23:01.954Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week4/slides.html</loc>
<lastmod>2024-03-21T01:23:36.055Z</lastmod>
<loc>https://iml.numbat.space/week4/index.html</loc>
<lastmod>2024-03-15T04:09:22.102Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week5/index.html</loc>
<lastmod>2024-03-25T00:29:39.940Z</lastmod>
<loc>https://iml.numbat.space/week4/tutorialsol.html</loc>
<lastmod>2024-03-18T01:23:19.973Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week5/tutorialsol.html</loc>
<lastmod>2024-03-22T04:38:32.315Z</lastmod>
<loc>https://iml.numbat.space/week4/tutorial.html</loc>
<lastmod>2024-03-18T01:23:19.973Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week5/tutorial.html</loc>
<lastmod>2024-03-22T04:38:32.315Z</lastmod>
<loc>https://iml.numbat.space/week5/slides.html</loc>
<lastmod>2024-03-27T04:02:40.366Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week6/index.html</loc>
<lastmod>2024-02-05T21:26:36.255Z</lastmod>
</url>
<url>
<loc>https://iml.numbat.space/week7/index.html</loc>
Expand Down
Binary file modified docs/week2/images/slides.rmarkdown/data-in-model-space1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/week2/slides.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/week3/tutorialsol.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/week4/tutorialsol.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/week5/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ <h4 id="calculate-the-impurity-for-split-5">Calculate the impurity for split 5</
<p><span class="monash-orange2">Right</span> bucket:</p>
<p><span class="math display">\[\widehat{p}_{RA} = 0/2, \widehat{p}_{RB} = 2/2, ~~ p_R = 2/7\]</span></p>
<p><span class="math display">\[G_R=0(1-0)+1(1-1) = 0\]</span> Combine with weighted sum to get <span class="monash-orange2">impurity for the split</span>:</p>
<p><span class="math display">\[5/7G_L + 2/7G_R=0.32\]</span></p>
<p><span class="math display">\[5/7G_L + 2/7G_R=0.23\]</span></p>
<p><br><br> <span class="monash-blue2"><strong>Your turn</strong>: Compute the impurity for split 2.</span></p>
</div>
</div>
Expand Down Expand Up @@ -2589,7 +2589,7 @@ <h2>Next: Neural networks and deep learning</h2>

<div class="quarto-auto-generated-content">
<div class="footer footer-default">
<p>ETC3250/5250 Lecture 4 | <a href="iml.numbat.space">iml.numbat.space</a></p>
<p>ETC3250/5250 Lecture 5 | <a href="iml.numbat.space">iml.numbat.space</a></p>
</div>
</div>
</section>
Expand Down
4 changes: 2 additions & 2 deletions docs/week5/slides.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ author:
- name: "Professor Di Cook"
email: "[email protected]"
institute: "Department of Econometrics and Business Statistics"
footer: "ETC3250/5250 Lecture 4 | [iml.numbat.space](iml.numbat.space)"
footer: "ETC3250/5250 Lecture 5 | [iml.numbat.space](iml.numbat.space)"
format:
revealjs:
multiplex: false
Expand Down Expand Up @@ -195,7 +195,7 @@ $$\widehat{p}_{RA} = 0/2, \widehat{p}_{RB} = 2/2, ~~ p_R = 2/7$$
$$G_R=0(1-0)+1(1-1) = 0$$
Combine with weighted sum to get [impurity for the split]{.monash-orange2}:

$$5/7G_L + 2/7G_R=0.32$$
$$5/7G_L + 2/7G_R=0.23$$

<br><br>
[**Your turn**: Compute the impurity for split 2.]{.monash-blue2}
Expand Down
Loading

0 comments on commit e43960b

Please sign in to comment.