Skip to content

Added ML intro, Repo cloning, virtual env, colab/jupyternb slides #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions slides/slides.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ Helping Today:

# Part 1: Neural-network basics -- and fun applications.

## Machine learning

- Machine learns underlying patterns and relations in given data to produce an output.

- Machine learning is accomplished by learning a mathematical function that can represent the data.

- Learning can be supervised, unsupervised, semi-supervised, self-supervised, reinforcement etc.

## Stochastic gradient descent (SGD)

Expand Down Expand Up @@ -312,6 +319,39 @@ Image source: [3Blue1Brown](https://www.3blue1brown.com/topics/neural-networks)
- I have never met anyone actually training models in C++; I find it a bit weird.
- See the PyTorch website: [https://pytorch.org/](https://pytorch.org/)

## Getting to the Exercise
*Github Repository Cloning*

- Navigate to
[https://tinyurl.com/ml-iccs-24](https://tinyurl.com/ml-iccs-24)
- Go to terminal and type in the below command
- `git clone https://github.com/Cambridge-ICCS/practical-ml-with-pytorch`

## Using online platform
*Using Colab*

`https://tinyurl.com/4arrjjt5`

*Using Jupyter Notebook*

- Download the repo from the [https://tinyurl.com/ml-iccs-24](https://tinyurl.com/ml-iccs-24)
- `cd <path_to_the_repo>`
- `jupyter notebook`
- exercises/01_penguin_classification.ipynb

## Creating virtual environment
*Installing with venv*

- `python3 -m venv venv`
- `source venv/bin/activate`

*Installing with conda*

- `conda create -n ml-workshop "python>=3.9.10"`
- `conda activate ml-workshop`
- `cd practical-ml-with-PyTorch`
`pip install . `


# Exercises

Expand Down
Loading