Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Nov 3, 2024
1 parent c3236fc commit 3e7448b
Show file tree
Hide file tree
Showing 8 changed files with 1,788 additions and 1,764 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
df0ed84b
02cb5d4d
7 changes: 6 additions & 1 deletion schedule/slides/20-boosting.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
<h2>20 Boosting</h2>
<p><span class="secondary">Stat 406</span></p>
<p><span class="secondary">Geoff Pleiss, Trevor Campbell</span></p>
<p>Last modified – 02 November 2023</p>
<p>Last modified – 03 November 2024</p>
<p><span class="math display">\[
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
Expand Down Expand Up @@ -466,6 +466,11 @@ <h2>AdaBoost (Freund and Schapire, generic)</h2>
<li>Final classifier is <span class="math inline">\(G(x) = \textrm{sign}\left( \sum_{m=1}^M \alpha_m G(x, \theta_m)\right)\)</span></li>
</ul>
</section>
<section id="example-performance" class="slide level2">
<h2>Example Performance</h2>
<p>Adaboost with decision stumps (just one split) on synthetic data</p>

<img data-src="gfx/boosting.png" class="quarto-figure quarto-figure-center r-stretch"></section>
<section id="using-mobility-data-again" class="slide level2">
<h2>Using mobility data again</h2>
<div class="cell" data-layout-align="center">
Expand Down
840 changes: 422 additions & 418 deletions schedule/slides/20-boosting_files/figure-revealjs/loss-funs-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
967 changes: 485 additions & 482 deletions schedule/slides/20-boosting_files/figure-revealjs/unnamed-chunk-2-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,631 changes: 818 additions & 813 deletions schedule/slides/20-boosting_files/figure-revealjs/unnamed-chunk-3-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added schedule/slides/gfx/boosting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -3560,7 +3560,7 @@
"href": "schedule/slides/20-boosting.html#section",
"title": "UBC Stat406 2024W",
"section": "20 Boosting",
"text": "20 Boosting\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 02 November 2023\n\\[\n\\DeclareMathOperator*{\\argmin}{argmin}\n\\DeclareMathOperator*{\\argmax}{argmax}\n\\DeclareMathOperator*{\\minimize}{minimize}\n\\DeclareMathOperator*{\\maximize}{maximize}\n\\DeclareMathOperator*{\\find}{find}\n\\DeclareMathOperator{\\st}{subject\\,\\,to}\n\\newcommand{\\E}{E}\n\\newcommand{\\Expect}[1]{\\E\\left[ #1 \\right]}\n\\newcommand{\\Var}[1]{\\mathrm{Var}\\left[ #1 \\right]}\n\\newcommand{\\Cov}[2]{\\mathrm{Cov}\\left[#1,\\ #2\\right]}\n\\newcommand{\\given}{\\ \\vert\\ }\n\\newcommand{\\X}{\\mathbf{X}}\n\\newcommand{\\x}{\\mathbf{x}}\n\\newcommand{\\y}{\\mathbf{y}}\n\\newcommand{\\P}{\\mathcal{P}}\n\\newcommand{\\R}{\\mathbb{R}}\n\\newcommand{\\norm}[1]{\\left\\lVert #1 \\right\\rVert}\n\\newcommand{\\snorm}[1]{\\lVert #1 \\rVert}\n\\newcommand{\\tr}[1]{\\mbox{tr}(#1)}\n\\newcommand{\\brt}{\\widehat{\\beta}^R_{s}}\n\\newcommand{\\brl}{\\widehat{\\beta}^R_{\\lambda}}\n\\newcommand{\\bls}{\\widehat{\\beta}_{ols}}\n\\newcommand{\\blt}{\\widehat{\\beta}^L_{s}}\n\\newcommand{\\bll}{\\widehat{\\beta}^L_{\\lambda}}\n\\newcommand{\\U}{\\mathbf{U}}\n\\newcommand{\\D}{\\mathbf{D}}\n\\newcommand{\\V}{\\mathbf{V}}\n\\]"
"text": "20 Boosting\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 03 November 2024\n\\[\n\\DeclareMathOperator*{\\argmin}{argmin}\n\\DeclareMathOperator*{\\argmax}{argmax}\n\\DeclareMathOperator*{\\minimize}{minimize}\n\\DeclareMathOperator*{\\maximize}{maximize}\n\\DeclareMathOperator*{\\find}{find}\n\\DeclareMathOperator{\\st}{subject\\,\\,to}\n\\newcommand{\\E}{E}\n\\newcommand{\\Expect}[1]{\\E\\left[ #1 \\right]}\n\\newcommand{\\Var}[1]{\\mathrm{Var}\\left[ #1 \\right]}\n\\newcommand{\\Cov}[2]{\\mathrm{Cov}\\left[#1,\\ #2\\right]}\n\\newcommand{\\given}{\\ \\vert\\ }\n\\newcommand{\\X}{\\mathbf{X}}\n\\newcommand{\\x}{\\mathbf{x}}\n\\newcommand{\\y}{\\mathbf{y}}\n\\newcommand{\\P}{\\mathcal{P}}\n\\newcommand{\\R}{\\mathbb{R}}\n\\newcommand{\\norm}[1]{\\left\\lVert #1 \\right\\rVert}\n\\newcommand{\\snorm}[1]{\\lVert #1 \\rVert}\n\\newcommand{\\tr}[1]{\\mbox{tr}(#1)}\n\\newcommand{\\brt}{\\widehat{\\beta}^R_{s}}\n\\newcommand{\\brl}{\\widehat{\\beta}^R_{\\lambda}}\n\\newcommand{\\bls}{\\widehat{\\beta}_{ols}}\n\\newcommand{\\blt}{\\widehat{\\beta}^L_{s}}\n\\newcommand{\\bll}{\\widehat{\\beta}^L_{\\lambda}}\n\\newcommand{\\U}{\\mathbf{U}}\n\\newcommand{\\D}{\\mathbf{D}}\n\\newcommand{\\V}{\\mathbf{V}}\n\\]"
},
{
"objectID": "schedule/slides/20-boosting.html#last-time",
Expand All @@ -3583,6 +3583,13 @@
"section": "AdaBoost (Freund and Schapire, generic)",
"text": "AdaBoost (Freund and Schapire, generic)\nLet \\(G(x, \\theta)\\) be any weak learner\n⛭ imagine a tree with one split: then \\(\\theta=\\) (feature, split point)\nAlgorithm (AdaBoost) 🛠️\n\nSet observation weights \\(w_i=1/n\\).\nUntil we quit ( \\(m&lt;M\\) iterations )\n\nEstimate the classifier \\(G(x,\\theta_m)\\) using weights \\(w_i\\)\nCalculate it’s weighted error \\(\\textrm{err}_m = \\sum_{i=1}^n w_i I(y_i \\neq G(x_i, \\theta_m)) / \\sum w_i\\)\nSet \\(\\alpha_m = \\log((1-\\textrm{err}_m)/\\text{err}_m)\\)\nUpdate \\(w_i \\leftarrow w_i \\exp(\\alpha_m I(y_i \\neq G(x_i,\\theta_m)))\\)\n\nFinal classifier is \\(G(x) = \\textrm{sign}\\left( \\sum_{m=1}^M \\alpha_m G(x, \\theta_m)\\right)\\)"
},
{
"objectID": "schedule/slides/20-boosting.html#example-performance",
"href": "schedule/slides/20-boosting.html#example-performance",
"title": "UBC Stat406 2024W",
"section": "Example Performance",
"text": "Example Performance\nAdaboost with decision stumps (just one split) on synthetic data"
},
{
"objectID": "schedule/slides/20-boosting.html#using-mobility-data-again",
"href": "schedule/slides/20-boosting.html#using-mobility-data-again",
Expand Down
96 changes: 48 additions & 48 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,194 +2,194 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-r-review.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/handouts/keras-nnet.html</loc>
<lastmod>2024-10-29T14:38:20.150Z</lastmod>
<lastmod>2024-11-03T22:37:23.694Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/11-kernel-smoothers.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/02-lm-example.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/07-greedy-selection.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/23-nnets-other.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/05-estimating-test-mse.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/25-pca-issues.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/26-pca-v-kpca.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-quiz-0-wrap.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/08-ridge-regression.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/27-kmeans.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/16-logistic-regression.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/04-bias-variance.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/06-information-criteria.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/03-regression-function.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/21-nnets-intro.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/faq.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-intro-to-class.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/handouts/lab00-git.html</loc>
<lastmod>2024-10-29T14:38:20.150Z</lastmod>
<lastmod>2024-11-03T22:37:23.694Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/course-setup.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/windows.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/mac_x86.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/index.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/index.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/mac_arm.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/ubuntu.html</loc>
<lastmod>2024-10-29T14:38:20.130Z</lastmod>
<lastmod>2024-11-03T22:37:23.674Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/syllabus.html</loc>
<lastmod>2024-10-29T14:38:20.186Z</lastmod>
<lastmod>2024-11-03T22:37:23.726Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/index.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-course-review.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-version-control.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/12-why-smooth.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/01-lm-review.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-cv-for-many-models.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/19-bagging-and-rf.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/14-classification-intro.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/22-nnets-estimation.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-classification-losses.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/20-boosting.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/15-LDA-and-QDA.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/24-pca-intro.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/13-gams-trees.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/10-basis-expansions.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/28-hclust.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/09-l1-penalties.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/17-nonlinear-classifiers.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/18-the-bootstrap.html</loc>
<lastmod>2024-10-29T14:38:20.162Z</lastmod>
<lastmod>2024-11-03T22:37:23.702Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-gradient-descent.html</loc>
<lastmod>2024-10-29T14:38:20.158Z</lastmod>
<lastmod>2024-11-03T22:37:23.698Z</lastmod>
</url>
</urlset>

0 comments on commit 3e7448b

Please sign in to comment.