updated aims for week 39

This commit is contained in:
Morten Hjorth-Jensen
2023-09-24 21:51:10 +02:00
parent 62133f1b4c
commit e6b8cab12f
7 changed files with 438 additions and 390 deletions
+43 -10
View File
@@ -197,20 +197,53 @@ MathJax.Hub.Config({
<section>
<h2 id="plan-for-week-39">Plan for week 39 </h2>
<div class="alert alert-block alert-block alert-text-normal">
<b>Material for the active learning sessions on Tuesday and Wednesday</b>
<p>
<ul>
<p><li> Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent</li>
<p><li> Stochastic Gradient descent with examples and automatic differentiation</li>
<p><li> Reading recommendations:</li>
<p><li> Discussions on how to structure your report for the first project</li>
<p><li> Exercise for week 39 on how to write the abstract and the introduction of the report and how to include references.</li>
<p><li> Work on project 1, in particular resampling methods like cross-validation and bootstrap. <b>For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11</b>.</li>
</ul>
<p>
<p>See <a href="https://compphysics.github.io/MachineLearning/doc/web/course.html" target="_blank">lecture notes for week 39</a>.
For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and chapter 8. We will come back to the latter chapter in our discussion of Neural networks as well.
</p>
<p>For Stochastic Gradient Descent, we recommend chapter 4 of Geron's text.</p>
<b>For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11</b>.
<p>These sections summarize neatly what we have done till now and point to what is coming with respect to deep learning. </p>
<ul>
<p><li> A general guideline can be found at <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md" target="_blank"><tt>https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md</tt></a>.</li>
</ul>
</div>
<div class="alert alert-block alert-block alert-text-normal">
<b>Material for the lecture on Thursday September 28</b>
<p>
<ul>
<p><li> Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent</li>
<p><li> Stochastic Gradient descent with examples and automatic differentiation</li>
<p><li> <a href="https://youtu.be/" target="_blank">Video of lecture</a></li>
<p><li> Whiteboard notes TBA at <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesSep28.pdf" target="_blank"><tt>https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesSep28.pdf</tt></a></li>
<p><li> Readings and Videos:</li>
<ul>
<p><li> These lecture notes</li>
<p><li> For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and sections 8.3-8.6. We will come back to the latter chapter in our discussion of Neural networks as well.</li>
<p><li> <a href="https://www.youtube.com/watch?v=sDv4f4s2SB8" target="_blank">Video on gradient descent</a></li>
<p><li> <a href="https://www.youtube.com/watch?v=vMh0zPT0tLI" target="_blank">Video on stochastic gradient descent</a></li>
</ul>
<p>
</ul>
</div>
</section>
<section>
+30 -10
View File
@@ -342,19 +342,39 @@ MathJax.Hub.Config({
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="plan-for-week-39">Plan for week 39 </h2>
<div class="alert alert-block alert-block alert-text-normal">
<b>Material for the active learning sessions on Tuesday and Wednesday</b>
<p>
<ul>
<li> Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent</li>
<li> Stochastic Gradient descent with examples and automatic differentiation</li>
<li> Reading recommendations:</li>
<li> Discussions on how to structure your report for the first project</li>
<li> Exercise for week 39 on how to write the abstract and the introduction of the report and how to include references.</li>
<li> Work on project 1, in particular resampling methods like cross-validation and bootstrap. <b>For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11</b>.</li>
</ul>
<p>See <a href="https://compphysics.github.io/MachineLearning/doc/web/course.html" target="_blank">lecture notes for week 39</a>.
For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and chapter 8. We will come back to the latter chapter in our discussion of Neural networks as well.
</p>
<p>For Stochastic Gradient Descent, we recommend chapter 4 of Geron's text.</p>
<b>For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11</b>.
<p>These sections summarize neatly what we have done till now and point to what is coming with respect to deep learning. </p>
<ul>
<li> A general guideline can be found at <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md" target="_blank"><tt>https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md</tt></a>.</li>
</ul>
</div>
<div class="alert alert-block alert-block alert-text-normal">
<b>Material for the lecture on Thursday September 28</b>
<p>
<ul>
<li> Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent</li>
<li> Stochastic Gradient descent with examples and automatic differentiation</li>
<li> <a href="https://youtu.be/" target="_blank">Video of lecture</a></li>
<li> Whiteboard notes TBA at <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesSep28.pdf" target="_blank"><tt>https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesSep28.pdf</tt></a></li>
<li> Readings and Videos:</li>
<ul>
<li> These lecture notes</li>
<li> For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and sections 8.3-8.6. We will come back to the latter chapter in our discussion of Neural networks as well.</li>
<li> <a href="https://www.youtube.com/watch?v=sDv4f4s2SB8" target="_blank">Video on gradient descent</a></li>
<li> <a href="https://www.youtube.com/watch?v=vMh0zPT0tLI" target="_blank">Video on stochastic gradient descent</a></li>
</ul>
</ul>
</div>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="optimization-the-central-part-of-any-machine-learning-algortithm">Optimization, the central part of any Machine Learning algortithm </h2>
+30 -10
View File
@@ -419,19 +419,39 @@ MathJax.Hub.Config({
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="plan-for-week-39">Plan for week 39 </h2>
<div class="alert alert-block alert-block alert-text-normal">
<b>Material for the active learning sessions on Tuesday and Wednesday</b>
<p>
<ul>
<li> Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent</li>
<li> Stochastic Gradient descent with examples and automatic differentiation</li>
<li> Reading recommendations:</li>
<li> Discussions on how to structure your report for the first project</li>
<li> Exercise for week 39 on how to write the abstract and the introduction of the report and how to include references.</li>
<li> Work on project 1, in particular resampling methods like cross-validation and bootstrap. <b>For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11</b>.</li>
</ul>
<p>See <a href="https://compphysics.github.io/MachineLearning/doc/web/course.html" target="_blank">lecture notes for week 39</a>.
For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and chapter 8. We will come back to the latter chapter in our discussion of Neural networks as well.
</p>
<p>For Stochastic Gradient Descent, we recommend chapter 4 of Geron's text.</p>
<b>For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11</b>.
<p>These sections summarize neatly what we have done till now and point to what is coming with respect to deep learning. </p>
<ul>
<li> A general guideline can be found at <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md" target="_blank"><tt>https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md</tt></a>.</li>
</ul>
</div>
<div class="alert alert-block alert-block alert-text-normal">
<b>Material for the lecture on Thursday September 28</b>
<p>
<ul>
<li> Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent</li>
<li> Stochastic Gradient descent with examples and automatic differentiation</li>
<li> <a href="https://youtu.be/" target="_blank">Video of lecture</a></li>
<li> Whiteboard notes TBA at <a href="https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesSep28.pdf" target="_blank"><tt>https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesSep28.pdf</tt></a></li>
<li> Readings and Videos:</li>
<ul>
<li> These lecture notes</li>
<li> For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and sections 8.3-8.6. We will come back to the latter chapter in our discussion of Neural networks as well.</li>
<li> <a href="https://www.youtube.com/watch?v=sDv4f4s2SB8" target="_blank">Video on gradient descent</a></li>
<li> <a href="https://www.youtube.com/watch?v=vMh0zPT0tLI" target="_blank">Video on stochastic gradient descent</a></li>
</ul>
</ul>
</div>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="optimization-the-central-part-of-any-machine-learning-algortithm">Optimization, the central part of any Machine Learning algortithm </h2>
Binary file not shown.
File diff suppressed because it is too large Load Diff
-59
View File
@@ -1,59 +0,0 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "f35930ac",
"metadata": {
"editable": true
},
"source": [
"<!-- HTML file automatically generated from DocOnce source (https://github.com/doconce/doconce/)\n",
"doconce format html exercisesweek39.do.txt -->\n",
"<!-- dom:TITLE: Exercises week 39 -->"
]
},
{
"cell_type": "markdown",
"id": "8cb567a0",
"metadata": {
"editable": true
},
"source": [
"# Exercises week 39\n",
"**September 25-29, 2023**\n",
"\n",
"Date: **Deadline is Sunday October 1 at midnight**"
]
},
{
"cell_type": "markdown",
"id": "934324b3",
"metadata": {
"editable": true
},
"source": [
"## Overarching aims of the exercises this week\n",
"\n",
"The aim of the exercises this week is to aid you in getting started\n",
"with writing the report. This will be discussed during the lab\n",
"sessions as well. One of the lab sessions will be recorded.\n",
"\n",
"A general guideline can be found at <https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md>.\n",
"\n",
"Similarly, an example of an earlier project can be found at <https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/ReportExample/ReportSample.pdf>\n",
"\n",
"Your task this week is to\n",
"1. Write an abstract for your project\n",
"\n",
"2. Write an introduction\n",
"\n",
"3. Include references\n",
"\n",
"Ashort feedback to the this exercise will be available after the deadline. And you can reuse these elements in your final report."
]
}
],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}
+25 -10
View File
@@ -5,18 +5,30 @@ DATE: Week 39
!split
===== Plan for week 39 =====
* Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent
* Stochastic Gradient descent with examples and automatic differentiation
* Reading recommendations:
See "lecture notes for week 39":"https://compphysics.github.io/MachineLearning/doc/web/course.html".
For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and chapter 8. We will come back to the latter chapter in our discussion of Neural networks as well.
For Stochastic Gradient Descent, we recommend chapter 4 of Geron's text.
_For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11_.
!bblock Material for the active learning sessions on Tuesday and Wednesday
* Discussions on how to structure your report for the first project
* Exercise for week 39 on how to write the abstract and the introduction of the report and how to include references.
* Work on project 1, in particular resampling methods like cross-validation and bootstrap. _For more discussions of project 1, chapter 5 of Goodfellow et al is a good read, in particular sections 5.1-5.5 and 5.7-5.11_.
These sections summarize neatly what we have done till now and point to what is coming with respect to deep learning.
* A general guideline can be found at URL:"https://github.com/CompPhysics/MachineLearning/blob/master/doc/Projects/EvaluationGrading/EvaluationForm.md".
!eblock
!bblock Material for the lecture on Thursday September 28
* Repetition of Logistic regression equations and classification problems and discussion of Gradient methods. Examples on how to implement Logistic Regression and discussion of stochastic gradient descent
* Stochastic Gradient descent with examples and automatic differentiation
* "Video of lecture":"https://youtu.be/"
* Whiteboard notes TBA at URL:"https://github.com/CompPhysics/MachineLearning/blob/master/doc/HandWrittenNotes/2023/NotesSep28.pdf"
* Readings and Videos:
* These lecture notes
* For a good discussion on gradient methods, we would like to recommend Goodfellow et al section 4.3-4.5 and sections 8.3-8.6. We will come back to the latter chapter in our discussion of Neural networks as well.
* "Video on gradient descent":"https://www.youtube.com/watch?v=sDv4f4s2SB8"
* "Video on stochastic gradient descent":"https://www.youtube.com/watch?v=vMh0zPT0tLI"
!eblock
@@ -2687,3 +2699,6 @@ print(derivative_fn(x_small))
!ec