adding notes
This commit is contained in:
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1132,6 +1132,8 @@ doconce format html week35.do.txt --no_mako -->
|
||||
<li><p>Discussion on how to prepare data and examples of applications of linear regression</p></li>
|
||||
<li><p>Material for the lecture on Thursday: Mathematical interpretations of linear regression</p></li>
|
||||
<li><p>Thursday: Ridge and Lasso regression and Singular Value Decomposition</p></li>
|
||||
<li><p><a class="reference external" href="https://youtu.be/qBNm-HGSxL4">Video of lecture</a></p></li>
|
||||
<li><p><a class="reference external" href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesAug31.pdf">Whiteboard notes</a></p></li>
|
||||
</ol>
|
||||
<div class="section" id="reading-recommendations">
|
||||
<h3>Reading recommendations:<a class="headerlink" href="#reading-recommendations" title="Permalink to this headline">¶</a></h3>
|
||||
@@ -1611,7 +1613,7 @@ Since we are not using <strong>Scikit-Learn</strong> here we can define our own
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.99541140030306
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.9949347794612255
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1628,7 +1630,7 @@ Since we are not using <strong>Scikit-Learn</strong> here we can define our own
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.009710035292693498
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.01028995427580139
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1643,31 +1645,31 @@ Since we are not using <strong>Scikit-Learn</strong> here we can define our own
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[3.79190435e-03 8.55070893e-03 3.86058560e-02 3.45643708e-02
|
||||
1.28500583e-02 5.10712245e-02 1.17764878e-02 1.13687085e-02
|
||||
1.74592114e-02 1.33939645e-03 2.27552531e-02 2.28284417e-02
|
||||
5.61536670e-02 6.48783370e-03 1.69356940e-02 7.00289406e-02
|
||||
2.45571233e-02 5.79106527e-02 7.31138734e-02 4.08448544e-02
|
||||
6.91811160e-03 4.97200305e-02 2.45268835e-02 1.97467734e-02
|
||||
5.60268567e-03 9.32784259e-04 7.08066746e-03 3.19910037e-03
|
||||
3.26521761e-02 1.36227629e-02 2.26896710e-02 3.55936475e-04
|
||||
2.49887949e-02 2.39417707e-05 2.39614347e-03 4.07789772e-02
|
||||
2.71075825e-02 6.82771329e-04 9.78018374e-03 8.87532289e-03
|
||||
2.42190899e-02 2.79827506e-02 1.34852463e-02 2.10441496e-02
|
||||
2.51850390e-02 4.86387759e-02 7.96257580e-03 2.40828861e-02
|
||||
3.60164827e-02 1.21503438e-01 4.62451626e-02 2.73628359e-02
|
||||
5.69981939e-03 6.30984244e-02 2.51054961e-03 3.86597540e-02
|
||||
3.69313663e-02 9.77836133e-03 5.43007002e-02 8.49862065e-03
|
||||
9.34037032e-03 2.08910476e-02 2.52606351e-02 5.07087395e-03
|
||||
4.11276576e-02 3.72904541e-02 2.13618516e-02 1.98880065e-02
|
||||
3.82975422e-02 1.18603611e-02 1.05236797e-02 4.00183687e-02
|
||||
6.56447742e-03 2.50173752e-02 3.42790075e-02 1.52902847e-02
|
||||
4.92169784e-02 3.50733669e-02 8.97665553e-03 4.56542321e-02
|
||||
3.57807896e-02 4.65359027e-03 1.02430520e-02 1.09480900e-03
|
||||
2.99948754e-02 1.60056803e-02 9.14266332e-02 2.21171751e-02
|
||||
2.21266166e-02 2.39548035e-02 1.67236038e-02 2.92337385e-02
|
||||
5.68040392e-02 3.33819480e-02 1.59981487e-02 3.13006658e-02
|
||||
3.20098424e-02 6.45146007e-03 3.82092612e-03 2.25724702e-02]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[3.27961873e-03 1.75320666e-02 3.97840267e-02 1.41369795e-02
|
||||
1.12890007e-02 3.55765644e-02 1.34914442e-03 9.92463154e-03
|
||||
3.86416637e-02 8.40062254e-03 1.58912508e-02 7.41091395e-02
|
||||
2.28266792e-02 1.29662593e-03 1.47977394e-02 1.48877744e-02
|
||||
3.81874188e-02 7.92322465e-02 3.43012535e-02 1.47732343e-02
|
||||
2.59567145e-02 1.77816763e-02 1.07826171e-02 3.45241645e-02
|
||||
3.01752962e-02 4.99180856e-03 2.49838167e-04 4.38432672e-03
|
||||
5.93034176e-03 2.54644646e-02 1.76834212e-02 1.85785878e-02
|
||||
3.70827971e-02 9.47008799e-03 6.04008203e-02 2.45865699e-02
|
||||
2.43113284e-03 2.65643756e-02 1.40768645e-01 4.45840226e-03
|
||||
1.23365145e-02 3.49001938e-02 3.65693278e-02 2.08966600e-02
|
||||
1.45112450e-02 1.27524966e-02 7.26193455e-02 3.00129543e-02
|
||||
5.95594445e-03 1.06826023e-02 1.32609560e-02 1.42729886e-02
|
||||
2.87131961e-02 6.39892216e-02 4.19650622e-02 2.78272242e-02
|
||||
1.19023414e-02 2.32474290e-02 5.36904006e-02 7.48259891e-03
|
||||
2.74997869e-02 3.08549564e-02 4.12211324e-02 1.06229862e-02
|
||||
4.41816468e-02 5.87890188e-04 4.41486312e-02 1.41083418e-02
|
||||
5.35759569e-03 2.89869600e-02 2.20517254e-02 2.65534935e-02
|
||||
1.04481443e-02 2.47355725e-02 1.00634741e-02 2.73185363e-02
|
||||
1.13375152e-02 4.40236659e-02 1.20669787e-02 7.63258368e-02
|
||||
1.13208672e-04 1.15746031e-02 9.91094169e-03 4.09789363e-02
|
||||
5.98604688e-02 1.47082726e-02 1.54957609e-02 3.71921767e-02
|
||||
2.85688243e-03 7.15752533e-04 4.77553346e-02 2.33370315e-03
|
||||
3.30638512e-05 7.19284552e-02 5.16049171e-02 7.79000942e-03
|
||||
2.70465373e-02 5.84696315e-02 5.47099765e-02 6.36462687e-02]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1736,15 +1738,15 @@ but now splitting the data into a training set and a test set.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 1.95079224 0.81447915 1.26265627 5.0771079 -2.04184782]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 1.96667129 1.00622755 0.25455904 7.36570403 -3.55965719]
|
||||
Training R2
|
||||
0.9966080206050006
|
||||
0.9967912002709148
|
||||
Training MSE
|
||||
0.008334493024006613
|
||||
0.007098683295819775
|
||||
Test R2
|
||||
0.9954205504035075
|
||||
0.9957763445154583
|
||||
Test MSE
|
||||
0.012501013881387798
|
||||
0.008754614401844201
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -23,6 +23,10 @@
|
||||
# 4. Material for the lecture on Thursday: Mathematical interpretations of linear regression
|
||||
#
|
||||
# 5. Thursday: Ridge and Lasso regression and Singular Value Decomposition
|
||||
#
|
||||
# 6. [Video of lecture](https://youtu.be/qBNm-HGSxL4)
|
||||
#
|
||||
# 7. [Whiteboard notes](https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesAug31.pdf)
|
||||
|
||||
# ### Reading recommendations:
|
||||
#
|
||||
|
||||
+433
-429
File diff suppressed because it is too large
Load Diff
@@ -378,6 +378,7 @@ MathJax.Hub.Config({
|
||||
<li> Material for the lecture on Thursday: Mathematical interpretations of linear regression</li>
|
||||
<li> Thursday: Ridge and Lasso regression and Singular Value Decomposition</li>
|
||||
<li> <a href="https://youtu.be/qBNm-HGSxL4" target="_self">Video of lecture</a></li>
|
||||
<li> <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesAug31.pdf" target="_self">Whiteboard notes</a></li>
|
||||
</ol>
|
||||
<h3 id="reading-recommendations" class="anchor">Reading recommendations: </h3>
|
||||
|
||||
|
||||
@@ -206,6 +206,7 @@ MathJax.Hub.Config({
|
||||
<p><li> Material for the lecture on Thursday: Mathematical interpretations of linear regression</li>
|
||||
<p><li> Thursday: Ridge and Lasso regression and Singular Value Decomposition</li>
|
||||
<p><li> <a href="https://youtu.be/qBNm-HGSxL4" target="_blank">Video of lecture</a></li>
|
||||
<p><li> <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesAug31.pdf" target="_blank">Whiteboard notes</a></li>
|
||||
</ol>
|
||||
<p>
|
||||
<h3 id="reading-recommendations">Reading recommendations: </h3>
|
||||
|
||||
@@ -328,6 +328,7 @@ MathJax.Hub.Config({
|
||||
<li> Material for the lecture on Thursday: Mathematical interpretations of linear regression</li>
|
||||
<li> Thursday: Ridge and Lasso regression and Singular Value Decomposition</li>
|
||||
<li> <a href="https://youtu.be/qBNm-HGSxL4" target="_blank">Video of lecture</a></li>
|
||||
<li> <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesAug31.pdf" target="_blank">Whiteboard notes</a></li>
|
||||
</ol>
|
||||
<h3 id="reading-recommendations">Reading recommendations: </h3>
|
||||
|
||||
|
||||
@@ -405,6 +405,7 @@ MathJax.Hub.Config({
|
||||
<li> Material for the lecture on Thursday: Mathematical interpretations of linear regression</li>
|
||||
<li> Thursday: Ridge and Lasso regression and Singular Value Decomposition</li>
|
||||
<li> <a href="https://youtu.be/qBNm-HGSxL4" target="_blank">Video of lecture</a></li>
|
||||
<li> <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesAug31.pdf" target="_blank">Whiteboard notes</a></li>
|
||||
</ol>
|
||||
<h3 id="reading-recommendations">Reading recommendations: </h3>
|
||||
|
||||
|
||||
Binary file not shown.
+431
-429
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,7 @@ o Discussion on how to prepare data and examples of applications of linear regre
|
||||
o Material for the lecture on Thursday: Mathematical interpretations of linear regression
|
||||
o Thursday: Ridge and Lasso regression and Singular Value Decomposition
|
||||
o "Video of lecture":"https://youtu.be/qBNm-HGSxL4"
|
||||
|
||||
o "Whiteboard notes":"https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesAug31.pdf"
|
||||
|
||||
=== Reading recommendations: ===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user