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 Sep 16, 2024
1 parent 97e0d17 commit 8937e19
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 @@
0fb35371
828ff237
3 changes: 2 additions & 1 deletion schedule/slides/02-lm-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
<h2>02 Linear model example</h2>
<p><span class="secondary">Stat 406</span></p>
<p><span class="secondary">Geoff Pleiss, Trevor Campbell</span></p>
<p>Last modified – 13 September 2024</p>
<p>Last modified – 16 September 2024</p>
<p><span class="math display">\[
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
Expand Down Expand Up @@ -581,6 +581,7 @@ <h2>Results</h2>
</section>
<section id="diagnostic-plots" class="slide level2">
<h2>Diagnostic plots</h2>
<p>NB: the line in the QQ plot isn’t right for either <code>geom_qq_line</code> or <code>plot.lm</code></p>
<div class="cell columns column-output-location" data-layout-align="center">
<div class="column">
<div class="sourceCode cell-code" id="cb6"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb6-1"><a></a>stuff <span class="ot">&lt;-</span> <span class="fu">tibble</span>(</span>
Expand Down
4 changes: 2 additions & 2 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -4239,7 +4239,7 @@
"href": "schedule/slides/02-lm-example.html#section",
"title": "UBC Stat406 2024W",
"section": "02 Linear model example",
"text": "02 Linear model example\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 13 September 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": "02 Linear model example\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 16 September 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/02-lm-example.html#economic-mobility",
Expand Down Expand Up @@ -4274,7 +4274,7 @@
"href": "schedule/slides/02-lm-example.html#diagnostic-plots",
"title": "UBC Stat406 2024W",
"section": "Diagnostic plots",
"text": "Diagnostic plots\n\n\nstuff &lt;- tibble(\n residuals = residuals(full),\n fitted = fitted(full),\n stdresiduals = rstandard(full)\n)\nggplot(stuff, aes(fitted, residuals)) +\n geom_point() +\n geom_smooth(\n se = FALSE,\n colour = \"steelblue\",\n linewidth = 2\n ) +\n ggtitle(\"Residuals vs Fitted\")\n\n\n\n\n\n\n\n\n\n\n\nggplot(stuff, aes(sample = stdresiduals)) +\n geom_qq(size = 2) +\n geom_qq_line(linewidth = 2, color = \"steelblue\") +\n labs(\n x = \"Theoretical quantiles\",\n y = \"Standardized residuals\",\n title = \"Normal Q-Q\"\n )"
"text": "Diagnostic plots\nNB: the line in the QQ plot isn’t right for either geom_qq_line or plot.lm…\n\n\nstuff &lt;- tibble(\n residuals = residuals(full),\n fitted = fitted(full),\n stdresiduals = rstandard(full)\n)\nggplot(stuff, aes(fitted, residuals)) +\n geom_point() +\n geom_smooth(\n se = FALSE,\n colour = \"steelblue\",\n linewidth = 2\n ) +\n ggtitle(\"Residuals vs Fitted\")\n\n\n\n\n\n\n\n\n\n\n\nggplot(stuff, aes(sample = stdresiduals)) +\n geom_qq(size = 2) +\n geom_qq_line(linewidth = 2, color = \"steelblue\") +\n labs(\n x = \"Theoretical quantiles\",\n y = \"Standardized residuals\",\n title = \"Normal Q-Q\"\n )"
},
{
"objectID": "schedule/slides/02-lm-example.html#can-also-just-use-dispatched-plot",
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-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/handouts/keras-nnet.html</loc>
<lastmod>2024-09-14T15:54:43.952Z</lastmod>
<lastmod>2024-09-16T18:38:52.617Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/11-kernel-smoothers.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/09-l1-penalties.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/18-the-bootstrap.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/23-nnets-other.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/25-pca-issues.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/24-pca-intro.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/15-LDA-and-QDA.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/08-ridge-regression.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-quiz-0-wrap.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/27-kmeans.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/14-classification-intro.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/04-bias-variance.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-cv-for-many-models.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/01-lm-review.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/06-information-criteria.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/12-why-smooth.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-intro-to-class.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/handouts/lab00-git.html</loc>
<lastmod>2024-09-14T15:54:43.956Z</lastmod>
<lastmod>2024-09-16T18:38:52.617Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/course-setup.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/windows.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/mac_x86.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/index.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/index.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/mac_arm.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/computing/ubuntu.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/syllabus.html</loc>
<lastmod>2024-09-14T15:54:43.988Z</lastmod>
<lastmod>2024-09-16T18:38:52.649Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/index.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-course-review.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-version-control.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/faq.html</loc>
<lastmod>2024-09-14T15:54:43.932Z</lastmod>
<lastmod>2024-09-16T18:38:52.597Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/21-nnets-intro.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/03-regression-function.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/19-bagging-and-rf.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/22-nnets-estimation.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/16-logistic-regression.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/20-boosting.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-classification-losses.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/10-basis-expansions.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/26-pca-v-kpca.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/13-gams-trees.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/05-estimating-test-mse.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/28-hclust.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/07-greedy-selection.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/02-lm-example.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/17-nonlinear-classifiers.html</loc>
<lastmod>2024-09-14T15:54:43.964Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
<url>
<loc>https://UBC-STAT.github.io/stat-406/schedule/slides/00-gradient-descent.html</loc>
<lastmod>2024-09-14T15:54:43.960Z</lastmod>
<lastmod>2024-09-16T18:38:52.625Z</lastmod>
</url>
</urlset>

0 comments on commit 8937e19

Please sign in to comment.