Skip to content

Commit cd2ce9e

Browse files
committed
update
1 parent 9ddb011 commit cd2ce9e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+12486
-3973
lines changed

doc/pub/week36/html/._week36-bs000.html

Lines changed: 106 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,66 @@
4141
2,
4242
None,
4343
'material-for-lecture-monday-september-2'),
44+
('Mathematical Interpretation of Ordinary Least Squares',
45+
2,
46+
None,
47+
'mathematical-interpretation-of-ordinary-least-squares'),
48+
('Residual Error', 2, None, 'residual-error'),
49+
('Simple case', 2, None, 'simple-case'),
50+
('The singular value decomposition',
51+
2,
52+
None,
53+
'the-singular-value-decomposition'),
54+
('Linear Regression Problems',
55+
2,
56+
None,
57+
'linear-regression-problems'),
58+
('Fixing the singularity', 2, None, 'fixing-the-singularity'),
59+
('Ridge and LASSO Regression',
60+
2,
61+
None,
62+
'ridge-and-lasso-regression'),
63+
('Deriving the Ridge Regression Equations',
64+
2,
65+
None,
66+
'deriving-the-ridge-regression-equations'),
67+
('Basic math of the SVD', 2, None, 'basic-math-of-the-svd'),
68+
('The SVD, a Fantastic Algorithm',
69+
2,
70+
None,
71+
'the-svd-a-fantastic-algorithm'),
72+
('Economy-size SVD', 2, None, 'economy-size-svd'),
73+
('Codes for the SVD', 2, None, 'codes-for-the-svd'),
74+
('Note about SVD Calculations',
75+
2,
76+
None,
77+
'note-about-svd-calculations'),
78+
('Mathematics of the SVD and implications',
79+
2,
80+
None,
81+
'mathematics-of-the-svd-and-implications'),
82+
('Example Matrix', 2, None, 'example-matrix'),
83+
('Setting up the Matrix to be inverted',
84+
2,
85+
None,
86+
'setting-up-the-matrix-to-be-inverted'),
87+
('Further properties (important for our analyses later)',
88+
2,
89+
None,
90+
'further-properties-important-for-our-analyses-later'),
91+
('Back to Ridge and LASSO Regression',
92+
2,
93+
None,
94+
'back-to-ridge-and-lasso-regression'),
95+
('Interpreting the Ridge results',
96+
2,
97+
None,
98+
'interpreting-the-ridge-results'),
99+
('More interpretations', 2, None, 'more-interpretations'),
100+
('Deriving the Lasso Regression Equations',
101+
2,
102+
None,
103+
'deriving-the-lasso-regression-equations'),
44104
('Material for lab sessions sessions Tuesday and Wednesday',
45105
2,
46106
None,
@@ -135,30 +195,51 @@
135195
<ul class="dropdown-menu">
136196
<!-- navigation toc: --> <li><a href="._week36-bs001.html#plans-for-week-36" style="font-size: 80%;">Plans for week 36</a></li>
137197
<!-- navigation toc: --> <li><a href="._week36-bs002.html#material-for-lecture-monday-september-2" style="font-size: 80%;">Material for lecture Monday September 2</a></li>
138-
<!-- navigation toc: --> <li><a href="._week36-bs003.html#material-for-lab-sessions-sessions-tuesday-and-wednesday" style="font-size: 80%;">Material for lab sessions sessions Tuesday and Wednesday</a></li>
139-
<!-- navigation toc: --> <li><a href="._week36-bs004.html#linear-regression-and-the-svd" style="font-size: 80%;">Linear Regression and the SVD</a></li>
140-
<!-- navigation toc: --> <li><a href="._week36-bs005.html#what-does-it-mean" style="font-size: 80%;">What does it mean?</a></li>
141-
<!-- navigation toc: --> <li><a href="._week36-bs006.html#ridge-and-lasso-regression" style="font-size: 80%;">Ridge and LASSO Regression</a></li>
142-
<!-- navigation toc: --> <li><a href="._week36-bs007.html#from-ols-to-ridge-and-lasso" style="font-size: 80%;">From OLS to Ridge and Lasso</a></li>
143-
<!-- navigation toc: --> <li><a href="._week36-bs008.html#deriving-the-ridge-regression-equations" style="font-size: 80%;">Deriving the Ridge Regression Equations</a></li>
144-
<!-- navigation toc: --> <li><a href="._week36-bs009.html#note-on-scikit-learn" style="font-size: 80%;">Note on Scikit-Learn</a></li>
145-
<!-- navigation toc: --> <li><a href="._week36-bs010.html#comparison-with-ols" style="font-size: 80%;">Comparison with OLS</a></li>
146-
<!-- navigation toc: --> <li><a href="._week36-bs011.html#svd-analysis" style="font-size: 80%;">SVD analysis</a></li>
147-
<!-- navigation toc: --> <li><a href="._week36-bs012.html#interpreting-the-ridge-results" style="font-size: 80%;">Interpreting the Ridge results</a></li>
148-
<!-- navigation toc: --> <li><a href="._week36-bs013.html#more-interpretations" style="font-size: 80%;">More interpretations</a></li>
149-
<!-- navigation toc: --> <li><a href="._week36-bs014.html#deriving-the-lasso-regression-equations" style="font-size: 80%;">Deriving the Lasso Regression Equations</a></li>
150-
<!-- navigation toc: --> <li><a href="._week36-bs015.html#simple-example-to-illustrate-ordinary-least-squares-ridge-and-lasso-regression" style="font-size: 80%;">Simple example to illustrate Ordinary Least Squares, Ridge and Lasso Regression</a></li>
151-
<!-- navigation toc: --> <li><a href="._week36-bs016.html#ridge-regression" style="font-size: 80%;">Ridge Regression</a></li>
152-
<!-- navigation toc: --> <li><a href="._week36-bs017.html#lasso-regression" style="font-size: 80%;">Lasso Regression</a></li>
153-
<!-- navigation toc: --> <li><a href="._week36-bs018.html#yet-another-example" style="font-size: 80%;">Yet another Example</a></li>
154-
<!-- navigation toc: --> <li><a href="._week36-bs019.html#the-ols-case" style="font-size: 80%;">The OLS case</a></li>
155-
<!-- navigation toc: --> <li><a href="._week36-bs020.html#the-ridge-case" style="font-size: 80%;">The Ridge case</a></li>
156-
<!-- navigation toc: --> <li><a href="._week36-bs021.html#writing-the-cost-function" style="font-size: 80%;">Writing the Cost Function</a></li>
157-
<!-- navigation toc: --> <li><a href="._week36-bs022.html#lasso-case" style="font-size: 80%;">Lasso case</a></li>
158-
<!-- navigation toc: --> <li><a href="._week36-bs023.html#the-first-case" style="font-size: 80%;">The first Case</a></li>
159-
<!-- navigation toc: --> <li><a href="._week36-bs024.html#simple-code-for-solving-the-above-problem" style="font-size: 80%;">Simple code for solving the above problem</a></li>
160-
<!-- navigation toc: --> <li><a href="._week36-bs025.html#with-lasso-regression" style="font-size: 80%;">With Lasso Regression</a></li>
161-
<!-- navigation toc: --> <li><a href="._week36-bs026.html#another-example-now-with-a-polynomial-fit" style="font-size: 80%;">Another Example, now with a polynomial fit</a></li>
198+
<!-- navigation toc: --> <li><a href="._week36-bs003.html#mathematical-interpretation-of-ordinary-least-squares" style="font-size: 80%;">Mathematical Interpretation of Ordinary Least Squares</a></li>
199+
<!-- navigation toc: --> <li><a href="._week36-bs004.html#residual-error" style="font-size: 80%;">Residual Error</a></li>
200+
<!-- navigation toc: --> <li><a href="._week36-bs005.html#simple-case" style="font-size: 80%;">Simple case</a></li>
201+
<!-- navigation toc: --> <li><a href="._week36-bs006.html#the-singular-value-decomposition" style="font-size: 80%;">The singular value decomposition</a></li>
202+
<!-- navigation toc: --> <li><a href="._week36-bs007.html#linear-regression-problems" style="font-size: 80%;">Linear Regression Problems</a></li>
203+
<!-- navigation toc: --> <li><a href="._week36-bs008.html#fixing-the-singularity" style="font-size: 80%;">Fixing the singularity</a></li>
204+
<!-- navigation toc: --> <li><a href="._week36-bs027.html#ridge-and-lasso-regression" style="font-size: 80%;">Ridge and LASSO Regression</a></li>
205+
<!-- navigation toc: --> <li><a href="._week36-bs029.html#deriving-the-ridge-regression-equations" style="font-size: 80%;">Deriving the Ridge Regression Equations</a></li>
206+
<!-- navigation toc: --> <li><a href="._week36-bs011.html#basic-math-of-the-svd" style="font-size: 80%;">Basic math of the SVD</a></li>
207+
<!-- navigation toc: --> <li><a href="._week36-bs012.html#the-svd-a-fantastic-algorithm" style="font-size: 80%;">The SVD, a Fantastic Algorithm</a></li>
208+
<!-- navigation toc: --> <li><a href="._week36-bs013.html#economy-size-svd" style="font-size: 80%;">Economy-size SVD</a></li>
209+
<!-- navigation toc: --> <li><a href="._week36-bs014.html#codes-for-the-svd" style="font-size: 80%;">Codes for the SVD</a></li>
210+
<!-- navigation toc: --> <li><a href="._week36-bs015.html#note-about-svd-calculations" style="font-size: 80%;">Note about SVD Calculations</a></li>
211+
<!-- navigation toc: --> <li><a href="._week36-bs016.html#mathematics-of-the-svd-and-implications" style="font-size: 80%;">Mathematics of the SVD and implications</a></li>
212+
<!-- navigation toc: --> <li><a href="._week36-bs017.html#example-matrix" style="font-size: 80%;">Example Matrix</a></li>
213+
<!-- navigation toc: --> <li><a href="._week36-bs018.html#setting-up-the-matrix-to-be-inverted" style="font-size: 80%;">Setting up the Matrix to be inverted</a></li>
214+
<!-- navigation toc: --> <li><a href="._week36-bs019.html#further-properties-important-for-our-analyses-later" style="font-size: 80%;">Further properties (important for our analyses later)</a></li>
215+
<!-- navigation toc: --> <li><a href="._week36-bs020.html#back-to-ridge-and-lasso-regression" style="font-size: 80%;">Back to Ridge and LASSO Regression</a></li>
216+
<!-- navigation toc: --> <li><a href="._week36-bs033.html#interpreting-the-ridge-results" style="font-size: 80%;">Interpreting the Ridge results</a></li>
217+
<!-- navigation toc: --> <li><a href="._week36-bs034.html#more-interpretations" style="font-size: 80%;">More interpretations</a></li>
218+
<!-- navigation toc: --> <li><a href="._week36-bs035.html#deriving-the-lasso-regression-equations" style="font-size: 80%;">Deriving the Lasso Regression Equations</a></li>
219+
<!-- navigation toc: --> <li><a href="._week36-bs024.html#material-for-lab-sessions-sessions-tuesday-and-wednesday" style="font-size: 80%;">Material for lab sessions sessions Tuesday and Wednesday</a></li>
220+
<!-- navigation toc: --> <li><a href="._week36-bs025.html#linear-regression-and-the-svd" style="font-size: 80%;">Linear Regression and the SVD</a></li>
221+
<!-- navigation toc: --> <li><a href="._week36-bs026.html#what-does-it-mean" style="font-size: 80%;">What does it mean?</a></li>
222+
<!-- navigation toc: --> <li><a href="._week36-bs027.html#ridge-and-lasso-regression" style="font-size: 80%;">Ridge and LASSO Regression</a></li>
223+
<!-- navigation toc: --> <li><a href="._week36-bs028.html#from-ols-to-ridge-and-lasso" style="font-size: 80%;">From OLS to Ridge and Lasso</a></li>
224+
<!-- navigation toc: --> <li><a href="._week36-bs029.html#deriving-the-ridge-regression-equations" style="font-size: 80%;">Deriving the Ridge Regression Equations</a></li>
225+
<!-- navigation toc: --> <li><a href="._week36-bs030.html#note-on-scikit-learn" style="font-size: 80%;">Note on Scikit-Learn</a></li>
226+
<!-- navigation toc: --> <li><a href="._week36-bs031.html#comparison-with-ols" style="font-size: 80%;">Comparison with OLS</a></li>
227+
<!-- navigation toc: --> <li><a href="._week36-bs032.html#svd-analysis" style="font-size: 80%;">SVD analysis</a></li>
228+
<!-- navigation toc: --> <li><a href="._week36-bs033.html#interpreting-the-ridge-results" style="font-size: 80%;">Interpreting the Ridge results</a></li>
229+
<!-- navigation toc: --> <li><a href="._week36-bs034.html#more-interpretations" style="font-size: 80%;">More interpretations</a></li>
230+
<!-- navigation toc: --> <li><a href="._week36-bs035.html#deriving-the-lasso-regression-equations" style="font-size: 80%;">Deriving the Lasso Regression Equations</a></li>
231+
<!-- navigation toc: --> <li><a href="._week36-bs036.html#simple-example-to-illustrate-ordinary-least-squares-ridge-and-lasso-regression" style="font-size: 80%;">Simple example to illustrate Ordinary Least Squares, Ridge and Lasso Regression</a></li>
232+
<!-- navigation toc: --> <li><a href="._week36-bs037.html#ridge-regression" style="font-size: 80%;">Ridge Regression</a></li>
233+
<!-- navigation toc: --> <li><a href="._week36-bs038.html#lasso-regression" style="font-size: 80%;">Lasso Regression</a></li>
234+
<!-- navigation toc: --> <li><a href="._week36-bs039.html#yet-another-example" style="font-size: 80%;">Yet another Example</a></li>
235+
<!-- navigation toc: --> <li><a href="._week36-bs040.html#the-ols-case" style="font-size: 80%;">The OLS case</a></li>
236+
<!-- navigation toc: --> <li><a href="._week36-bs041.html#the-ridge-case" style="font-size: 80%;">The Ridge case</a></li>
237+
<!-- navigation toc: --> <li><a href="._week36-bs042.html#writing-the-cost-function" style="font-size: 80%;">Writing the Cost Function</a></li>
238+
<!-- navigation toc: --> <li><a href="._week36-bs043.html#lasso-case" style="font-size: 80%;">Lasso case</a></li>
239+
<!-- navigation toc: --> <li><a href="._week36-bs044.html#the-first-case" style="font-size: 80%;">The first Case</a></li>
240+
<!-- navigation toc: --> <li><a href="._week36-bs045.html#simple-code-for-solving-the-above-problem" style="font-size: 80%;">Simple code for solving the above problem</a></li>
241+
<!-- navigation toc: --> <li><a href="._week36-bs046.html#with-lasso-regression" style="font-size: 80%;">With Lasso Regression</a></li>
242+
<!-- navigation toc: --> <li><a href="._week36-bs047.html#another-example-now-with-a-polynomial-fit" style="font-size: 80%;">Another Example, now with a polynomial fit</a></li>
162243

163244
</ul>
164245
</li>
@@ -210,7 +291,7 @@ <h4>September 1-5, 2025</h4>
210291
<li><a href="._week36-bs008.html">9</a></li>
211292
<li><a href="._week36-bs009.html">10</a></li>
212293
<li><a href="">...</a></li>
213-
<li><a href="._week36-bs026.html">27</a></li>
294+
<li><a href="._week36-bs047.html">48</a></li>
214295
<li><a href="._week36-bs001.html">&raquo;</a></li>
215296
</ul>
216297
<!-- ------------------- end of main content --------------- -->

0 commit comments

Comments
 (0)