Skip to content

Commit

Permalink
deploy: cbbf3e1
Browse files Browse the repository at this point in the history
  • Loading branch information
gtoti committed Sep 26, 2024
1 parent 9dc74c0 commit f02b40b
Show file tree
Hide file tree
Showing 48 changed files with 8,224 additions and 655 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 not shown.
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 not shown.
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 not shown.
Binary file not shown.
Binary file not shown.
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 not shown.
Binary file not shown.
Binary file not shown.
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 not shown.
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.
Diff not rendered.
4,344 changes: 4,344 additions & 0 deletions _sources/lectures/101-Giulia-lectures/07_linear-models.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/python_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ <h2>Plotting with matplotlib<a class="headerlink" href="#plotting-with-matplotli
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7fa530629d00&gt;]
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7fdab8359010&gt;]
</pre></div>
</div>
<img alt="../_images/6d8e3ea93b7cb9116da742e92520b5c420c6540e375892d6d625581427aa3c26.png" src="../_images/6d8e3ea93b7cb9116da742e92520b5c420c6540e375892d6d625581427aa3c26.png" />
Expand Down Expand Up @@ -590,8 +590,8 @@ <h2>Numpy arrays<a class="headerlink" href="#numpy-arrays" title="Link to this h
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([[0.42921216, 0.48819155, 0.2647865 ],
[0.72060172, 0.51888842, 0.83406958]])
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([[0.98957133, 0.03668348, 0.23988268],
[0.91722501, 0.5262889 , 0.55320116]])
</pre></div>
</div>
</div>
Expand All @@ -603,7 +603,7 @@ <h2>Numpy arrays<a class="headerlink" href="#numpy-arrays" title="Link to this h
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.48819154742327586
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.03668347501404734
</pre></div>
</div>
</div>
Expand Down
70 changes: 32 additions & 38 deletions lectures/101-Giulia-lectures/01_intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -753,38 +753,38 @@ <h4>Predicting on unseen data using the trained model<a class="headerlink" href=
</div>
<div class="cell_output docutils container">
<div class="output text_html"><style type="text/css">
#T_18084_row0_col0, #T_18084_row0_col1, #T_18084_row1_col0, #T_18084_row1_col1, #T_18084_row2_col0, #T_18084_row2_col1, #T_18084_row3_col0, #T_18084_row3_col1 {
#T_8c812_row0_col0, #T_8c812_row0_col1, #T_8c812_row1_col0, #T_8c812_row1_col1, #T_8c812_row2_col0, #T_8c812_row2_col1, #T_8c812_row3_col0, #T_8c812_row3_col1 {
text-align: left;
}
</style>
<table id="T_18084">
<table id="T_8c812">
<thead>
<tr>
<th class="blank level0" >&nbsp;</th>
<th id="T_18084_level0_col0" class="col_heading level0 col0" >sms</th>
<th id="T_18084_level0_col1" class="col_heading level0 col1" >spam_predictions</th>
<th id="T_8c812_level0_col0" class="col_heading level0 col0" >sms</th>
<th id="T_8c812_level0_col1" class="col_heading level0 col1" >spam_predictions</th>
</tr>
</thead>
<tbody>
<tr>
<th id="T_18084_level0_row0" class="row_heading level0 row0" >3245</th>
<td id="T_18084_row0_col0" class="data row0 col0" >Funny fact Nobody teaches volcanoes 2 erupt, tsunamis 2 arise, hurricanes 2 sway aroundn no 1 teaches hw 2 choose a wife Natural disasters just happens</td>
<td id="T_18084_row0_col1" class="data row0 col1" >ham</td>
<th id="T_8c812_level0_row0" class="row_heading level0 row0" >3245</th>
<td id="T_8c812_row0_col0" class="data row0 col0" >Funny fact Nobody teaches volcanoes 2 erupt, tsunamis 2 arise, hurricanes 2 sway aroundn no 1 teaches hw 2 choose a wife Natural disasters just happens</td>
<td id="T_8c812_row0_col1" class="data row0 col1" >ham</td>
</tr>
<tr>
<th id="T_18084_level0_row1" class="row_heading level0 row1" >944</th>
<td id="T_18084_row1_col0" class="data row1 col0" >I sent my scores to sophas and i had to do secondary application for a few schools. I think if you are thinking of applying, do a research on cost also. Contact joke ogunrinde, her school is one me the less expensive ones</td>
<td id="T_18084_row1_col1" class="data row1 col1" >ham</td>
<th id="T_8c812_level0_row1" class="row_heading level0 row1" >944</th>
<td id="T_8c812_row1_col0" class="data row1 col0" >I sent my scores to sophas and i had to do secondary application for a few schools. I think if you are thinking of applying, do a research on cost also. Contact joke ogunrinde, her school is one me the less expensive ones</td>
<td id="T_8c812_row1_col1" class="data row1 col1" >ham</td>
</tr>
<tr>
<th id="T_18084_level0_row2" class="row_heading level0 row2" >1044</th>
<td id="T_18084_row2_col0" class="data row2 col0" >We know someone who you know that fancies you. Call 09058097218 to find out who. POBox 6, LS15HB 150p</td>
<td id="T_18084_row2_col1" class="data row2 col1" >spam</td>
<th id="T_8c812_level0_row2" class="row_heading level0 row2" >1044</th>
<td id="T_8c812_row2_col0" class="data row2 col0" >We know someone who you know that fancies you. Call 09058097218 to find out who. POBox 6, LS15HB 150p</td>
<td id="T_8c812_row2_col1" class="data row2 col1" >spam</td>
</tr>
<tr>
<th id="T_18084_level0_row3" class="row_heading level0 row3" >2484</th>
<td id="T_18084_row3_col0" class="data row3 col0" >Only if you promise your getting out as SOON as you can. And you'll text me in the morning to let me know you made it in ok.</td>
<td id="T_18084_row3_col1" class="data row3 col1" >ham</td>
<th id="T_8c812_level0_row3" class="row_heading level0 row3" >2484</th>
<td id="T_8c812_row3_col0" class="data row3 col0" >Only if you promise your getting out as SOON as you can. And you'll text me in the morning to let me know you made it in ok.</td>
<td id="T_8c812_row3_col1" class="data row3 col1" >ham</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -1556,58 +1556,52 @@ <h4>Example 2: Predicting the label of a given image<a class="headerlink" href="
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 0%| | 0.00/528M [00:00&lt;?, ?B/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 5%|▌ | 28.4M/528M [00:00&lt;00:01, 297MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 5%|▌ | 26.5M/528M [00:00&lt;00:01, 277MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 11%|█ | 58.2M/528M [00:00&lt;00:01, 307MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 10%|█ | 54.2M/528M [00:00&lt;00:01, 285MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 18%|█ | 94.1M/528M [00:00&lt;00:01, 337MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 16%|█ | 85.9M/528M [00:00&lt;00:01, 306MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 24%|██ | 126M/528M [00:00&lt;00:01, 333MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 22%|██ | 118M/528M [00:00&lt;00:01, 317MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 30%|██ | 158M/528M [00:00&lt;00:01, 307MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 28%|██ | 150M/528M [00:00&lt;00:01, 323MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 37%|███ | 194M/528M [00:00&lt;00:01, 330MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 34%|███ | 180M/528M [00:00&lt;00:01, 320MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 43%|████ | 226M/528M [00:00&lt;00:00, 327MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 42%|████ | 220M/528M [00:00&lt;00:00, 349MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 49%|████▉ | 259M/528M [00:00&lt;00:00, 331MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 49%|████▉ | 258M/528M [00:00&lt;00:00, 367MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 55%|█████ | 291M/528M [00:00&lt;00:00, 334MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 56%|█████ | 298M/528M [00:00&lt;00:00, 381MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 61%|██████ | 323M/528M [00:01&lt;00:00, 298MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 63%|██████ | 334M/528M [00:01&lt;00:00, 380MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 67%|██████ | 352M/528M [00:01&lt;00:00, 287MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 71%|██████ | 373M/528M [00:01&lt;00:00, 388MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 72%|███████ | 380M/528M [00:01&lt;00:00, 256MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 78%|███████ | 412M/528M [00:01&lt;00:00, 395MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 77%|███████▋ | 406M/528M [00:01&lt;00:00, 252MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 85%|████████▌ | 450M/528M [00:01&lt;00:00, 394MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 82%|████████▏ | 431M/528M [00:01&lt;00:00, 256MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 93%|█████████▎| 489M/528M [00:01&lt;00:00, 398MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 86%|████████▋ | 456M/528M [00:01&lt;00:00, 247MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>100%|█████████▉| 527M/528M [00:01&lt;00:00, 396MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 92%|█████████▏| 484M/528M [00:01&lt;00:00, 258MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span> 97%|█████████▋| 512M/528M [00:01&lt;00:00, 269MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>100%|██████████| 528M/528M [00:01&lt;00:00, 290MB/s]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>100%|██████████| 528M/528M [00:01&lt;00:00, 366MB/s]
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@ <h3>How does <code class="docutils literal notranslate"><span class="pre">fit</s
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/800474eba6a3278db9eb6d7294e4921d4cc62c17ab167f2171ec50bbda7f775c.png" src="../../_images/800474eba6a3278db9eb6d7294e4921d4cc62c17ab167f2171ec50bbda7f775c.png" />
<img alt="../../_images/028f88c62e9ced85a910cd7b9fb87f12bf74ce86796988601ab63981be450174.png" src="../../_images/028f88c62e9ced85a910cd7b9fb87f12bf74ce86796988601ab63981be450174.png" />
</div>
</div>
<div class="warning admonition">
Expand Down Expand Up @@ -2740,7 +2740,7 @@ <h3>Decision trees with continuous features<a class="headerlink" href="#decision
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/8a83aa6c7f8afb6e21396b1a06de94a65d4be7223d9cde5817fa3e9a40fadbff.png" src="../../_images/8a83aa6c7f8afb6e21396b1a06de94a65d4be7223d9cde5817fa3e9a40fadbff.png" />
<img alt="../../_images/d9636c445862cd7b674da2f90baf8c37efc3303ba22a263096444cf5e7b76d45.png" src="../../_images/d9636c445862cd7b674da2f90baf8c37efc3303ba22a263096444cf5e7b76d45.png" />
</div>
</div>
</section>
Expand Down Expand Up @@ -3032,7 +3032,7 @@ <h3>Parameters<a class="headerlink" href="#parameters" title="Link to this headi
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/e0d0a6a0265d6142fa0a49defe85eb18213ca4c6e0a68a28829c36e5ef220da6.png" src="../../_images/e0d0a6a0265d6142fa0a49defe85eb18213ca4c6e0a68a28829c36e5ef220da6.png" />
<img alt="../../_images/20780315827f478860666f0c77af4e1630e78bc5c38803529753da56db3d1fc8.png" src="../../_images/20780315827f478860666f0c77af4e1630e78bc5c38803529753da56db3d1fc8.png" />
</div>
</div>
<ul class="simple">
Expand Down Expand Up @@ -3093,7 +3093,7 @@ <h3>Decision tree with <code class="docutils literal notranslate"><span class="p
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../_images/a64de57dcd1913fb888f292ae41325b0f958cfe3b921f6ac32e293b9f44bc3b0.png" src="../../_images/a64de57dcd1913fb888f292ae41325b0f958cfe3b921f6ac32e293b9f44bc3b0.png" />
<img alt="../../_images/457f331ee033d246f20d22c20dab407304a36a5b97d060108254e872a95e7df6.png" src="../../_images/457f331ee033d246f20d22c20dab407304a36a5b97d060108254e872a95e7df6.png" />
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit f02b40b

Please sign in to comment.