# Week 2 - Recap ML Basics, Intro to PyTorch

## Course session

**Quiz**

ML Basics recap

**Solutions exercises**

Presentation from the participants of the tasks from PyTorch101

**Walk-through**

PyTorch 202 (Lab 02)

{% embed url="<https://colab.research.google.com/drive/1jrKiUSqGmDmFhn_2mMgn-6aDlFqvlcN1?usp=sharing>" %}

## **To-do**

😊

Go for your own through the Colab Notebook above (Pytorch202) and try to understand and repeat the steps for your own.

Watch the videos on the next page

Go through the following notebooks and complete the second one (assignment notebook):

{% embed url="<https://colab.research.google.com/drive/1Wpr2Zn63BFz4Fy7ViooR_K0mpJkcH9jI?usp=sharing>" %}
The first notebook
{% endembed %}

{% embed url="<https://colab.research.google.com/drive/1Nw_3JZJe-SqB9EWZzxnLM2pet9xnQmmY?usp=sharing>" %}
The assignment notebook
{% endembed %}

The redundancy between some notebooks is desired to reintroduce the concepts in a different way and hence enrich your learning experience!

😊😊

Try to improve the accuracy in the PyTorch 202 notebook by tweaking the amount of layers and number of neurons

😊😊😊

Familiarize yourself with basic PyTorch Tutorials:

* <https://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html> (Second part)
* <https://uvadlc-notebooks.readthedocs.io/en/latest/tutorial_notebooks/tutorial3/Activation_Functions.html>
* <https://uvadlc-notebooks.readthedocs.io/en/latest/tutorial_notebooks/tutorial4/Optimization_and_Initialization.html>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://opencampus.gitbook.io/opencampus-machine-learning-program/courses/intermediate-machine-learning/week-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
