Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kvarada committed Nov 21, 2023
1 parent 30bd026 commit 4369625
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 18 deletions.
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.
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.
Binary file added _images/time-series-dall-e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions _sources/lectures/19_time-series.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@
"Instructor: Varada Kolhatkar and Andrew Roth"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![](img/time-series-dall-e.png)\n",
"\n",
"The picture is created using DALL-E! \n",
"\n",
"> This illustration shows a cityscape with skyscrapers, each featuring digital billboards displaying time-series graphs. These graphs represent various types of data such as stock market trends, weather patterns, and population growth, set against the backdrop of a bustling city with people of diverse descents and genders. This setting should provide a compelling and relatable context for your introduction to time-series lecture."
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion lectures/17_natural-language-processing.html
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ <h2>Imports<a class="headerlink" href="#imports" title="Permalink to this headin
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
</pre></div>
</div>
<img alt="../_images/5689cab71a2d023300ef20dfc08bbfc9cf748e06c02206162b2d87cd6b47bebc.png" src="../_images/5689cab71a2d023300ef20dfc08bbfc9cf748e06c02206162b2d87cd6b47bebc.png" />
<img alt="../_images/17cb0028e34ef8aca7bd2ca2f2039d88493fe841bc991cd7bb3969a4c91966f0.png" src="../_images/17cb0028e34ef8aca7bd2ca2f2039d88493fe841bc991cd7bb3969a4c91966f0.png" />
</div>
</div>
<div class="cell docutils container">
Expand Down
33 changes: 19 additions & 14 deletions lectures/19_time-series.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@ <h2> Contents </h2>
<h1>Lecture 19: Time series<a class="headerlink" href="#lecture-19-time-series" title="Permalink to this heading">#</a></h1>
<p>UBC 2023-24</p>
<p>Instructor: Varada Kolhatkar and Andrew Roth</p>
<p><img alt="" src="../_images/time-series-dall-e.png" /></p>
<p>The picture is created using DALL-E!</p>
<blockquote>
<div><p>This illustration shows a cityscape with skyscrapers, each featuring digital billboards displaying time-series graphs. These graphs represent various types of data such as stock market trends, weather patterns, and population growth, set against the backdrop of a bustling city with people of diverse descents and genders. This setting should provide a compelling and relatable context for your introduction to time-series lecture.</p>
</div></blockquote>
<section id="imports-announcements-lo">
<h2>Imports, announcements, LO<a class="headerlink" href="#imports-announcements-lo" title="Permalink to this heading">#</a></h2>
<section id="imports">
Expand Down Expand Up @@ -2330,7 +2335,7 @@ <h2>Lag-based features<a class="headerlink" href="#lag-based-features" title="Pe
Test-set R^2: 0.69
</pre></div>
</div>
<img alt="../_images/962a15d27c08b76884629e4a09173c3a2616c7daf78f0b4396a19a7f1bd09b38.png" src="../_images/962a15d27c08b76884629e4a09173c3a2616c7daf78f0b4396a19a7f1bd09b38.png" />
<img alt="../_images/332f7fb5059e8aa63cd4e626942c06be6239b23050894e9d482a6966e86209ed.png" src="../_images/332f7fb5059e8aa63cd4e626942c06be6239b23050894e9d482a6966e86209ed.png" />
</div>
</div>
<p>The results are better than <code class="docutils literal notranslate"><span class="pre">Ridge</span></code> with lag features but they are not as good as the results with our previously engineered features. How about combining lag-based features and the previously extracted features?</p>
Expand All @@ -2349,11 +2354,11 @@ <h2>Lag-based features<a class="headerlink" href="#lag-based-features" title="Pe
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Train-set R^2: 0.95
Test-set R^2: 0.81
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Train-set R^2: 0.96
Test-set R^2: 0.80
</pre></div>
</div>
<img alt="../_images/c08f86cea0da2332b3a196db5d3390cc21994b5430be9b839d21ab9f5081e989.png" src="../_images/c08f86cea0da2332b3a196db5d3390cc21994b5430be9b839d21ab9f5081e989.png" />
<img alt="../_images/7e340328569f28198ac43ab844a588c3a94ef2d869929950fd3c32b064e95beb.png" src="../_images/7e340328569f28198ac43ab844a588c3a94ef2d869929950fd3c32b064e95beb.png" />
</div>
</div>
<p>Some improvement but we are getting better results without the lag features in this case.</p>
Expand Down Expand Up @@ -2453,36 +2458,36 @@ <h3>Cross-validation<a class="headerlink" href="#cross-validation" title="Permal
<tbody>
<tr>
<th>0</th>
<td>0.001153</td>
<td>0.000276</td>
<td>0.001105</td>
<td>0.000297</td>
<td>0.642676</td>
<td>0.873182</td>
</tr>
<tr>
<th>1</th>
<td>0.000582</td>
<td>0.000271</td>
<td>0.000535</td>
<td>0.000227</td>
<td>0.828405</td>
<td>0.874305</td>
</tr>
<tr>
<th>2</th>
<td>0.000849</td>
<td>0.000296</td>
<td>0.001032</td>
<td>0.000753</td>
<td>0.773851</td>
<td>0.901262</td>
</tr>
<tr>
<th>3</th>
<td>0.000994</td>
<td>0.000748</td>
<td>0.000945</td>
<td>0.000597</td>
<td>0.696712</td>
<td>0.889429</td>
</tr>
<tr>
<th>4</th>
<td>0.000959</td>
<td>0.000304</td>
<td>0.000929</td>
<td>0.000287</td>
<td>0.892733</td>
<td>0.863889</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion lectures/class_demos/14_class-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ <h2>Let’s cluster images!!<a class="headerlink" href="#let-s-cluster-images" t
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
</pre></div>
</div>
<img alt="../../_images/5a79f0fe6407e4934ef019946b276fd0480fa33949dee58d16e1a0afec676dbb.png" src="../../_images/5a79f0fe6407e4934ef019946b276fd0480fa33949dee58d16e1a0afec676dbb.png" />
<img alt="../../_images/20031552772bb9c2966ff9377aa840b09e8b492ec7448791d3aff0752da5df45.png" src="../../_images/20031552772bb9c2966ff9377aa840b09e8b492ec7448791d3aff0752da5df45.png" />
</div>
</div>
<div class="cell docutils container">
Expand Down
2 changes: 1 addition & 1 deletion lectures/class_demos/15_class-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h1>Lecture 15: Class demo<a class="headerlink" href="#lecture-15-class-demo" ti
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
</pre></div>
</div>
<img alt="../../_images/677e0a4cd1a99211e9badf13c46c091f1a395e026378a1cbcb8f253ffd9f06c2.png" src="../../_images/677e0a4cd1a99211e9badf13c46c091f1a395e026378a1cbcb8f253ffd9f06c2.png" />
<img alt="../../_images/81880b22cbff8195d2839d72b073af99c325b5df2788819f1a3188759c8376f8.png" src="../../_images/81880b22cbff8195d2839d72b073af99c325b5df2788819f1a3188759c8376f8.png" />
</div>
</div>
<div class="cell docutils container">
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 4369625

Please sign in to comment.