From 18088bf1e4c9659d69a13555577682259f0f8757 Mon Sep 17 00:00:00 2001 From: Surbhi Goel Date: Wed, 10 Jul 2024 20:53:45 +0100 Subject: [PATCH] Updated slides --- slides/slides.qmd | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/slides/slides.qmd b/slides/slides.qmd index a547f6b..1a1b4d4 100644 --- a/slides/slides.qmd +++ b/slides/slides.qmd @@ -133,6 +133,15 @@ 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. + + ## Fitting a straight line I {.smaller} - Consider the data: @@ -371,6 +380,41 @@ Image source: [3Blue1Brown](https://www.3blue1brown.com/topics/neural-networks) - [uvadlc](https://uvadlc-notebooks.readthedocs.io/en/latest/) - [3Blue1Brown](https://www.3blue1brown.com/topics/neural-networks) + +## 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 ` +- `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