Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhijit Dasgupta committed Nov 13, 2024
1 parent a1002fe commit e1cf129
Show file tree
Hide file tree
Showing 21 changed files with 838 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b7fefde3
ea03e0a1
14 changes: 13 additions & 1 deletion 01-technical-background.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"id":1,"options":{"dpi":72,"fig-cap":"","editor-quick-suggestions":"false","label":"unnamed-chunk-1","classes":"","output":"true","autorun":"false","editor-font-scale":"1","context":"interactive","message":"true","out-height":"","warning":"true","read-only":"false","fig-height":5,"comment":"","fig-width":7,"editor-word-wrap":"true","editor-max-height":"","out-width":"700px","results":"markup"},"code":"lambda = 1\nx <- seq(0, 10, by = 0.1)\ny <- dexp(x, rate = lambda)\nplot(x, y, type ='l')"},{"id":2,"options":{"dpi":72,"fig-cap":"","editor-quick-suggestions":"false","label":"unnamed-chunk-2","classes":"","output":"true","autorun":"false","editor-font-scale":"1","context":"interactive","message":"true","out-height":"","warning":"true","read-only":"false","fig-height":5,"comment":"","fig-width":7,"editor-word-wrap":"true","editor-max-height":"","out-width":"700px","results":"markup"},"code":"alpha = 1\nbeta = 1\ny = dweibull(x, shape = alpha, scale = beta)\nplot(x, y, type = 'l')"}];
globalThis.qwebrCellDetails = [{"options":{"out-width":"700px","editor-font-scale":"1","context":"interactive","read-only":"false","classes":"","message":"true","results":"markup","fig-width":7,"autorun":"false","output":"true","dpi":72,"warning":"true","editor-max-height":"","fig-height":5,"comment":"","fig-cap":"","out-height":"","editor-quick-suggestions":"false","editor-word-wrap":"true","label":"unnamed-chunk-1"},"code":"lambda = 1\nx <- seq(0, 10, by = 0.1)\ny <- dexp(x, rate = lambda)\nplot(x, y, type ='l')","id":1},{"options":{"out-width":"700px","editor-font-scale":"1","context":"interactive","read-only":"false","classes":"","message":"true","results":"markup","fig-width":7,"autorun":"false","output":"true","dpi":72,"warning":"true","editor-max-height":"","fig-height":5,"comment":"","fig-cap":"","out-height":"","editor-quick-suggestions":"false","editor-word-wrap":"true","label":"unnamed-chunk-2"},"code":"alpha = 1\nbeta = 1\ny = dweibull(x, shape = alpha, scale = beta)\nplot(x, y, type = 'l')","id":2}];

</script>
<script type="module">
Expand Down Expand Up @@ -1673,6 +1673,18 @@
<a href="./chapters/week-06.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Survival analysis II</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./chapters/week-11.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Applied machine learning</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./chapters/week-12.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">12</span>&nbsp; <span class="chapter-title">Machine learning explainability</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
Expand Down
12 changes: 12 additions & 0 deletions chapters/week-01.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,18 @@
<a href="../chapters/week-06.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Survival analysis II</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-11.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Applied machine learning</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-12.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">12</span>&nbsp; <span class="chapter-title">Machine learning explainability</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
Expand Down
16 changes: 14 additions & 2 deletions chapters/week-02.html
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"id":1,"options":{"results":"markup","out-width":"700px","autorun":"false","fig-height":5,"fig-width":7,"read-only":"false","editor-word-wrap":"true","label":"unnamed-chunk-1","classes":"","output":"true","warning":"true","editor-quick-suggestions":"false","fig-cap":"","context":"interactive","comment":"","editor-max-height":"","message":"true","editor-font-scale":"1","dpi":72,"out-height":""},"code":"set.seed(1000)\ninstall.packages(\"tidyverse\")\nlibrary(tidyverse)\nm1 <- 0\nm2 <- 0.2\ns <- 0.5\nn <- 10 # number of samples we observe in 1 expt (replicates)\nnsim <- 1000 # number of simulated expts\n\n# compute sampling distributions\nx1 <- replicate(nsim, mean(rnorm(n, m1, s)))\nx2 <- replicate(nsim, mean(rnorm(n, m2, s)))\n\ndr <- sqrt(n) * (x2 - x1) / (2 * s^2) > qnorm(0.95)\npower <- mean(dr)\n\nd <- tibble(x = c(x1, x2), grp = factor(c(rep(1, nsim), rep(2, nsim))))\n\nggplot(d, aes(x, color = grp)) +\n geom_density() +\n geom_vline(xintercept = sqrt(2) * s / sqrt(n)) +\n scale_x_continuous(limits = c(-1, 1)) +\n theme_bw() +\n labs(title = paste0(\"Power = \", power))"}];
globalThis.qwebrCellDetails = [{"code":"set.seed(1000)\ninstall.packages(\"tidyverse\")\nlibrary(tidyverse)\nm1 <- 0\nm2 <- 0.2\ns <- 0.5\nn <- 10 # number of samples we observe in 1 expt (replicates)\nnsim <- 1000 # number of simulated expts\n\n# compute sampling distributions\nx1 <- replicate(nsim, mean(rnorm(n, m1, s)))\nx2 <- replicate(nsim, mean(rnorm(n, m2, s)))\n\ndr <- sqrt(n) * (x2 - x1) / (2 * s^2) > qnorm(0.95)\npower <- mean(dr)\n\nd <- tibble(x = c(x1, x2), grp = factor(c(rep(1, nsim), rep(2, nsim))))\n\nggplot(d, aes(x, color = grp)) +\n geom_density() +\n geom_vline(xintercept = sqrt(2) * s / sqrt(n)) +\n scale_x_continuous(limits = c(-1, 1)) +\n theme_bw() +\n labs(title = paste0(\"Power = \", power))","id":1,"options":{"results":"markup","editor-quick-suggestions":"false","fig-cap":"","classes":"","fig-height":5,"out-height":"","editor-word-wrap":"true","output":"true","out-width":"700px","read-only":"false","comment":"","editor-max-height":"","autorun":"false","dpi":72,"message":"true","warning":"true","editor-font-scale":"1","context":"interactive","fig-width":7,"label":"unnamed-chunk-1"}}];

</script><script type="module">
// Declare startupMessageQWebR globally
Expand Down Expand Up @@ -1644,6 +1644,18 @@
<a href="../chapters/week-06.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Survival analysis II</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-11.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Applied machine learning</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-12.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">12</span>&nbsp; <span class="chapter-title">Machine learning explainability</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
Expand Down Expand Up @@ -2329,7 +2341,7 @@ <h1 class="title"><span id="sec-week2" class="quarto-section-identifier"><span c
<div>

</div>
<div class="cell quarto-layout-panel" data-execute="{&quot;message&quot;:false,&quot;warning&quot;:false}" data-layout-ncol="2">
<div class="cell quarto-layout-panel" data-layout-ncol="2" data-execute="{&quot;message&quot;:false,&quot;warning&quot;:false}">
<div class="quarto-layout-row">
<div class="quarto-layout-cell" style="flex-basis: 50.0%;justify-content: center;">
<p><img src="week-02_files/figure-html/unnamed-chunk-1-1.png" class="img-fluid" width="672"></p>
Expand Down
12 changes: 12 additions & 0 deletions chapters/week-03.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,18 @@
<a href="../chapters/week-06.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Survival analysis II</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-11.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Applied machine learning</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-12.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">12</span>&nbsp; <span class="chapter-title">Machine learning explainability</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
Expand Down
12 changes: 12 additions & 0 deletions chapters/week-04.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,18 @@
<a href="../chapters/week-06.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Survival analysis II</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-11.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Applied machine learning</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-12.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">12</span>&nbsp; <span class="chapter-title">Machine learning explainability</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
Expand Down
12 changes: 12 additions & 0 deletions chapters/week-05.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,18 @@
<a href="../chapters/week-06.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Survival analysis II</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-11.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Applied machine learning</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-12.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">12</span>&nbsp; <span class="chapter-title">Machine learning explainability</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
Expand Down
15 changes: 14 additions & 1 deletion chapters/week-06.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,18 @@
<a href="../chapters/week-06.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Survival analysis II</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-11.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Applied machine learning</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../chapters/week-12.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">12</span>&nbsp; <span class="chapter-title">Machine learning explainability</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
Expand Down Expand Up @@ -284,7 +296,7 @@ <h1 class="title"><span id="sec-week6" class="quarto-section-identifier"><span c



</header><p><strong>Last updated:</strong> 09 Oct, 2024 12:46 PM EDT</p>
</header><p><strong>Last updated:</strong> 17 Oct, 2024 09:38 AM EDT</p>
<section id="a-tale-of-the-hazard" class="level2"><h2 class="anchored" data-anchor-id="a-tale-of-the-hazard">A tale of the hazard</h2>
<p>Let’s take a deeper dive into the hazard.</p>
<section id="a-mathematical-approach" class="level3"><h3 class="anchored" data-anchor-id="a-mathematical-approach">A mathematical approach</h3>
Expand Down Expand Up @@ -788,6 +800,7 @@ <h1 class="title"><span id="sec-week6" class="quarto-section-identifier"><span c
</div>
</div>
</div>
<p>Generally speaking, the coefficients are opposite signs. Why?</p>



Expand Down
Loading

0 comments on commit e1cf129

Please sign in to comment.