This commit is contained in:
Morten Hjorth-Jensen
2021-11-11 08:57:25 +01:00
parent 0bf62ad3f5
commit bd239c86a9
11 changed files with 298 additions and 228 deletions
+1 -1
View File
@@ -397,8 +397,8 @@ MathJax.Hub.Config({
<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
<ol>
<li> <a href="https://www.youtube.com/watch?v=RmajweUFKvM&ab_channel=Simplilearn" target="_self">Video on Decision trees</a></li>
<li> <a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_self">Video on boosting methods by Hastie</a>.</li>
</ol>
<p><a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_self">Video on boosting methods by Hastie</a>.</p>
</div>
</div>
+10
View File
@@ -395,6 +395,16 @@ MathJax.Hub.Config({
<tr><td align="center"><b>Grade Trend</b></td> <td align="center"><b>Hours slept</b></td> <td align="center"><b>Hours Studied</b></td> <td align="center"><b>Grade</b></td> </tr>
</thead>
<tbody>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
</tbody>
</table>
</div> <!-- col-xs-4 -->
+1 -2
View File
@@ -395,8 +395,7 @@ these binary classes, they can easily be split into ones and zeros.
<div class="panel panel-default">
<div class="panel-body">
<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
<p>See handwritten notes for Thursday November 11</p>
</div>
</div>
+1 -2
View File
@@ -391,8 +391,7 @@ MathJax.Hub.Config({
<div class="panel panel-default">
<div class="panel-body">
<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
<p>See handwritten notes for Thursday November 11</p>
</div>
</div>
+3 -2
View File
@@ -391,12 +391,13 @@ MathJax.Hub.Config({
<div class="panel panel-default">
<div class="panel-body">
<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
<p>See handwritten notes for Thursday November 11</p>
</div>
</div>
<p>For final tree, see the above handwritten notes</p>
<p>
<!-- navigation buttons at the bottom of the page -->
<ul class="pagination">
+16 -2
View File
@@ -207,9 +207,8 @@ MathJax.Hub.Config({
<p>
<ol>
<p><li> <a href="https://www.youtube.com/watch?v=RmajweUFKvM&ab_channel=Simplilearn" target="_blank">Video on Decision trees</a></li>
<p><li> <a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_blank">Video on boosting methods by Hastie</a>.</li>
</ol>
<p>
<p><a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_blank">Video on boosting methods by Hastie</a>.</p>
</div>
@@ -772,6 +771,16 @@ recently has gotten grades below average or above.
<tr><th align="center">Grade Trend</th> <th align="center">Hours slept</th> <th align="center">Hours Studied</th> <th align="center">Grade</th> </tr>
</thead>
<tbody>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
</tbody>
</table>
</section>
@@ -786,6 +795,7 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for Average trend</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
</section>
@@ -795,6 +805,7 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for hour slept</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
</section>
@@ -804,7 +815,10 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for hour studied</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
<p>For final tree, see the above handwritten notes</p>
</section>
<section>
+16 -7
View File
@@ -344,8 +344,8 @@ MathJax.Hub.Config({
<p>
<ol>
<li> <a href="https://www.youtube.com/watch?v=RmajweUFKvM&ab_channel=Simplilearn" target="_blank">Video on Decision trees</a></li>
<li> <a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_blank">Video on boosting methods by Hastie</a>.</li>
</ol>
<p><a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_blank">Video on boosting methods by Hastie</a>.</p>
</div>
@@ -859,6 +859,16 @@ recently has gotten grades below average or above.
<tr><th align="center">Grade Trend</th> <th align="center">Hours slept</th> <th align="center">Hours Studied</th> <th align="center">Grade</th> </tr>
</thead>
<tbody>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
</tbody>
</table>
@@ -872,8 +882,7 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for Average trend</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
@@ -883,8 +892,7 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for hour slept</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
@@ -894,11 +902,12 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for hour studied</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
<p>For final tree, see the above handwritten notes</p>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="visualizing-the-tree-classification">Visualizing the Tree, Classification </h2>
+16 -7
View File
@@ -421,8 +421,8 @@ MathJax.Hub.Config({
<p>
<ol>
<li> <a href="https://www.youtube.com/watch?v=RmajweUFKvM&ab_channel=Simplilearn" target="_blank">Video on Decision trees</a></li>
<li> <a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_blank">Video on boosting methods by Hastie</a>.</li>
</ol>
<p><a href="https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai" target="_blank">Video on boosting methods by Hastie</a>.</p>
</div>
@@ -936,6 +936,16 @@ recently has gotten grades below average or above.
<tr><th align="center">Grade Trend</th> <th align="center">Hours slept</th> <th align="center">Hours Studied</th> <th align="center">Grade</th> </tr>
</thead>
<tbody>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Below </td> <td align="center"> Low </td> <td align="center"> High </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> Low </td> <td align="center"> Low </td> <td align="center"> Below </td> </tr>
<tr><td align="center"> Above </td> <td align="center"> High </td> <td align="center"> High </td> <td align="center"> Above </td> </tr>
</tbody>
</table>
@@ -949,8 +959,7 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for Average trend</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
@@ -960,8 +969,7 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for hour slept</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
@@ -971,11 +979,12 @@ these binary classes, they can easily be split into ones and zeros.
<div class="alert alert-block alert-block alert-text-normal">
<b>Gini index for hour studied</b>
<p>
<p>See handwritten notes for Thursday November 11</p>
</div>
<p>For final tree, see the above handwritten notes</p>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="visualizing-the-tree-classification">Visualizing the Tree, Classification </h2>
Binary file not shown.
File diff suppressed because it is too large Load Diff
+16 -5
View File
@@ -10,7 +10,7 @@ DATE: today
!bblock Videos
o "Video on Decision trees":"https://www.youtube.com/watch?v=RmajweUFKvM&ab_channel=Simplilearn"
"Video on boosting methods by Hastie":"https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai".
o "Video on boosting methods by Hastie":"https://www.youtube.com/watch?v=wPqtzj5VZus&ab_channel=H2O.ai".
!eblock
!bblock Reading
@@ -484,7 +484,17 @@ o The final grade whether it is above or below average
|---------------------------------------------------|
| Grade Trend | Hours slept | Hours Studied | Grade |
|---------------------------------------------------|
| Above | Low | High | Above |
| Below | High | Low | Below |
| Above | Low | High | Above |
| Above | High | High | Above |
| Below | Low | High | Below |
| Above | Low | Low | Below |
| Below | High | High | Below |
| Below | Low | High | Below |
| Above | Low | Low | Below |
| Above | High | High | Above |
|---------------------------------------------------|
!split
@@ -494,7 +504,7 @@ In computations we will translate all classes into numbers. Being
these binary classes, they can easily be split into ones and zeros.
!bblock Gini index for Average trend
See handwritten notes for Thursday November 11
!eblock
@@ -503,7 +513,7 @@ these binary classes, they can easily be split into ones and zeros.
!bblock Gini index for hour slept
See handwritten notes for Thursday November 11
!eblock
@@ -512,9 +522,10 @@ these binary classes, they can easily be split into ones and zeros.
!bblock Gini index for hour studied
See handwritten notes for Thursday November 11
!eblock
For final tree, see the above handwritten notes