correcting typos

This commit is contained in:
Morten Hjorth-Jensen
2025-10-14 06:59:44 +02:00
parent 3f92ffbd07
commit 2ada3ce2b2
9 changed files with 679 additions and 44 deletions
@@ -527,7 +527,7 @@ code for classification and pertinent results against a similar code using <b>Sc
</p>
<p>If you have time, you can use the functionality of <b>scikit-learn</b> and compare your neural network results with those from Logistic regression. This is optional.
The weblink here <a href="https://medium.com/ai-in-plain-english/comparison-between-logistic-regression-and-neural-networks-in-classifying-digits-dc5e85cd93c3" target="_blank"><tt>https://medium.com/ai-in-plain-english/comparison-between-logistic-regression-and-neural-networks-in-classifying-digits-dc5e85cd93c3</tt></a>compares logistic regression and FFNN using the so-called MNIST data set. You may find several useful hints and ideas from this article. Your neural network code can implement the equivalent of logistic regression by simply setting the number of hidden layers to zero.
The weblink here <a href="https://medium.com/ai-in-plain-english/comparison-between-logistic-regression-and-neural-networks-in-classifying-digits-dc5e85cd93c3" target="_blank"><tt>https://medium.com/ai-in-plain-english/comparison-between-logistic-regression-and-neural-networks-in-classifying-digits-dc5e85cd93c3</tt></a>compares logistic regression and FFNN using the so-called MNIST data set. You may find several useful hints and ideas from this article. Your neural network code can implement the equivalent of logistic regression by simply setting the number of hidden layers to zero and keeping just the input and the output layers.
</p>
<p>If you wish to compare with say Logisti Regression from <b>scikit-learn</b>, the following code uses the above data set</p>
@@ -604,7 +604,7 @@ your final project 3, but now applied to other data sets.
</ol>
<h3 id="optional-note-that-you-should-include-at-least-two-of-these-in-the-report">Optional (Note that you should include at least two of these in the report): </h3>
<ol>
<li> Implement Logistic Regression as simple classification model case (equivalent to a Neural Network with one layer)</li>
<li> Implement Logistic Regression as simple classification model case (equivalent to a Neural Network with just the output layer)</li>
<li> Compute the gradient of the neural network with autograd, to show that it gives the same result as your hand-written backpropagation.</li>
<li> Compare your results with results from using a machine-learning library like pytorch (https://docs.pytorch.org/tutorials/beginner/basics/buildmodel_tutorial.html)</li>
<li> Use a more complex classification dataset instead, like the fashion MNIST (see <a href="https://www.kaggle.com/datasets/zalando-research/fashionmnist" target="_blank"><tt>https://www.kaggle.com/datasets/zalando-research/fashionmnist</tt></a>)</li>