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 Oct 29, 2024
1 parent 65f56f6 commit 3021d8a
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8073b4b0
2b80a732
3 changes: 2 additions & 1 deletion schedule/slides/18-the-bootstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
<h2>18 The bootstrap</h2>
<p><span class="secondary">Stat 406</span></p>
<p><span class="secondary">Geoff Pleiss, Trevor Campbell</span></p>
<p>Last modified – 28 October 2024</p>
<p>Last modified – 29 October 2024</p>
<p><span class="math display">\[
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
Expand Down Expand Up @@ -497,6 +497,7 @@ <h2>The bootstrap is very flexible</h2>
<li>Produce the original estimate <span class="math inline">\(\hat\theta=\widehat{\Pr}(Y_0=1 \given X_0)\)</span></li>
<li>Resample your training data <span class="math inline">\(B\)</span> times with replacement</li>
<li>Refit LDA for each one to produce <span class="math inline">\(\widehat{\Pr}\nolimits_b(Y_0 =1 \given X_0)\)</span>.</li>
<li>Variance: empirical variance of <span class="math inline">\(\widehat{\Pr}\nolimits_b(Y_0 =1 \given X_0)\)</span>.</li>
<li>CI: <span class="math inline">\(\left[2\widehat{\Pr}(Y_0 =1 \given X_0) - \widehat{F}_{\text{boot}}(1-\alpha/2),\ 2\widehat{\Pr}(Y_0 =1 \given X_0) - \widehat{F}_{\text{boot}}(\alpha/2)\right]\)</span>
<ul>
<li><span class="math inline">\(\widehat{F}_{\text{boot}}\)</span> is the empirical CDF of the samples <span class="math inline">\(\widehat{\Pr}\nolimits_b(Y_0 =1 \given X_0)\)</span></li>
Expand Down
4 changes: 2 additions & 2 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -4400,7 +4400,7 @@
"href": "schedule/slides/18-the-bootstrap.html#section",
"title": "UBC Stat406 2024W",
"section": "18 The bootstrap",
"text": "18 The bootstrap\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 28 October 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\\]"
"text": "18 The bootstrap\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 29 October 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/18-the-bootstrap.html#uncertainty-with-one-sample",
Expand Down Expand Up @@ -4435,7 +4435,7 @@
"href": "schedule/slides/18-the-bootstrap.html#the-bootstrap-is-very-flexible",
"title": "UBC Stat406 2024W",
"section": "The bootstrap is very flexible",
"text": "The bootstrap is very flexible\ne.g., for LDA:\n\nProduce the original estimate \\(\\hat\\theta=\\widehat{\\Pr}(Y_0=1 \\given X_0)\\)\nResample your training data \\(B\\) times with replacement\nRefit LDA for each one to produce \\(\\widehat{\\Pr}\\nolimits_b(Y_0 =1 \\given X_0)\\).\nCI: \\(\\left[2\\widehat{\\Pr}(Y_0 =1 \\given X_0) - \\widehat{F}_{\\text{boot}}(1-\\alpha/2),\\ 2\\widehat{\\Pr}(Y_0 =1 \\given X_0) - \\widehat{F}_{\\text{boot}}(\\alpha/2)\\right]\\)\n\n\\(\\widehat{F}_{\\text{boot}}\\) is the empirical CDF of the samples \\(\\widehat{\\Pr}\\nolimits_b(Y_0 =1 \\given X_0)\\)"
"text": "The bootstrap is very flexible\ne.g., for LDA:\n\nProduce the original estimate \\(\\hat\\theta=\\widehat{\\Pr}(Y_0=1 \\given X_0)\\)\nResample your training data \\(B\\) times with replacement\nRefit LDA for each one to produce \\(\\widehat{\\Pr}\\nolimits_b(Y_0 =1 \\given X_0)\\).\nVariance: empirical variance of \\(\\widehat{\\Pr}\\nolimits_b(Y_0 =1 \\given X_0)\\).\nCI: \\(\\left[2\\widehat{\\Pr}(Y_0 =1 \\given X_0) - \\widehat{F}_{\\text{boot}}(1-\\alpha/2),\\ 2\\widehat{\\Pr}(Y_0 =1 \\given X_0) - \\widehat{F}_{\\text{boot}}(\\alpha/2)\\right]\\)\n\n\\(\\widehat{F}_{\\text{boot}}\\) is the empirical CDF of the samples \\(\\widehat{\\Pr}\\nolimits_b(Y_0 =1 \\given X_0)\\)"
},
{
"objectID": "schedule/slides/18-the-bootstrap.html#a-basic-example",
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-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/handouts/keras-nnet.html</loc>
<lastmod>2024-10-29T01:42:26.898Z</lastmod>
<lastmod>2024-10-29T14:33:34.857Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/11-kernel-smoothers.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/02-lm-example.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/07-greedy-selection.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/23-nnets-other.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/05-estimating-test-mse.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/25-pca-issues.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/26-pca-v-kpca.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-quiz-0-wrap.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/08-ridge-regression.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/27-kmeans.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.869Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/16-logistic-regression.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/04-bias-variance.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/06-information-criteria.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/03-regression-function.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/21-nnets-intro.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/faq.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-intro-to-class.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/handouts/lab00-git.html</loc>
<lastmod>2024-10-29T01:42:26.898Z</lastmod>
<lastmod>2024-10-29T14:33:34.857Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/course-setup.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/windows.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/mac_x86.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/index.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/index.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/mac_arm.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/ubuntu.html</loc>
<lastmod>2024-10-29T01:42:26.878Z</lastmod>
<lastmod>2024-10-29T14:33:34.837Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/syllabus.html</loc>
<lastmod>2024-10-29T01:42:26.934Z</lastmod>
<lastmod>2024-10-29T14:33:34.889Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/index.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-course-review.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-version-control.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/12-why-smooth.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/01-lm-review.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-cv-for-many-models.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/19-bagging-and-rf.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/14-classification-intro.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/22-nnets-estimation.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-classification-losses.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/20-boosting.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/15-LDA-and-QDA.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/24-pca-intro.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/13-gams-trees.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/10-basis-expansions.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/28-hclust.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.869Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/09-l1-penalties.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/17-nonlinear-classifiers.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/18-the-bootstrap.html</loc>
<lastmod>2024-10-29T01:42:26.910Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-gradient-descent.html</loc>
<lastmod>2024-10-29T01:42:26.906Z</lastmod>
<lastmod>2024-10-29T14:33:34.865Z</lastmod>
</url>
</urlset>

0 comments on commit 3021d8a

Please sign in to comment.