Intro To Deep Learning
Leon Noel
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/7897239/logo_500x500.png)
RC Ascend
Agenda
-
Questions?
-
Let's Talk - Learning
-
Learn - What is Machine, Deep, Ect Learning?
-
Learn - What is a model?
-
Learn - Bird or Not Model?
-
Do - Read Paper + Watch 1.2
-
Homework - Week 01 Fast.ai
Questions
About last class or life
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/7634660/how-dare.gif)
Resetting Forgetting Curve
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/7870865/Ebbinghaus-forgetting-curve-and-review-cycle.png)
https://www.pearsoned.com/three-simple-research-based-ways-to-ace-a-test
Active Recall & Spaced Repetition
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/7870868/spaced.png)
Ali Abdaal: https://youtu.be/Z-zNHHpXoMM
Trough Of Sorrow
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/7694391/trough-of-sorrow.png)
Manage Frustration
Consistency
Taking Care Of Yourself
![](https://media1.giphy.com/media/1gdtvpQWIGyZH3EzNI/giphy.gif)
AI
![](https://media2.giphy.com/media/kE6xCyOOHoxlS/giphy.gif)
A computer will do what you tell it to do.
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460345/AI.png)
What is artificial intelligence?
Creation of computer systems that can perform tasks typically requiring human intelligence
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460391/tesla.webp)
Classification
Prediction
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460399/stonks.png)
DATA
Prediction
![](https://media0.giphy.com/media/2bYewTk7K2No1NvcuK/giphy.gif)
What is machine learning?
Creation of computer systems that can perform a task without be explicitly programmed to complete that task that typically requires structured data
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460366/1.jpeg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460367/2.jpeg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460369/3.jpeg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460370/e032b10b2df21c22d2524518b7444f92e37fe5d404b0144390f8c07aa5ecb6_640.jpg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460371/e83cb00a2ef1053ed1584d05fb1d4e9fe777ead218ac104497f5c978a4efbcb0_640.jpg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460374/e83cb00a2ef1083ed1584d05fb1d4e9fe777ead218ac104497f5c978a4eebdbd_640.jpg)
https://www.kaggle.com/datasets/alessiocorrado99/animals10
cat
cat
cat
elephant
elephant
elephant
What is deep learning?
Creation of computer systems that can perform a task without be explicitly programmed to complete that task that typically DOES NOT require
structured data
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460366/1.jpeg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460367/2.jpeg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460369/3.jpeg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460370/e032b10b2df21c22d2524518b7444f92e37fe5d404b0144390f8c07aa5ecb6_640.jpg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460371/e83cb00a2ef1053ed1584d05fb1d4e9fe777ead218ac104497f5c978a4efbcb0_640.jpg)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460374/e83cb00a2ef1083ed1584d05fb1d4e9fe777ead218ac104497f5c978a4eebdbd_640.jpg)
https://www.kaggle.com/datasets/alessiocorrado99/animals10
DATA
Prediction
![](https://media0.giphy.com/media/2bYewTk7K2No1NvcuK/giphy.gif)
Training Set
Test Set
DATA
Training
Data
![](https://media0.giphy.com/media/bTrTnPMPq8UORCrBWG/giphy.gif)
Test
Data
78 %
Algorithm
![](https://media0.giphy.com/media/bTrTnPMPq8UORCrBWG/giphy.gif)
Algorithm
Linear Regression
Decision Tree
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460498/bird-cnn.webp)
Manual Feature Engineering
![](https://media0.giphy.com/media/bTrTnPMPq8UORCrBWG/giphy.gif)
Algorithm
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460475/cnn.webp)
Convolutional Neural Networks (CNNs)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460500/cnn-features.webp)
Automatic Feature Engineering
Training
Data
![](https://media0.giphy.com/media/bTrTnPMPq8UORCrBWG/giphy.gif)
Test
Data
78 %
Algorithm
Error Function
accuracy_score(prediction, test_data)
Output = Model
Model by itself is just an empty brain that has not yet learned anything
![](https://media1.giphy.com/media/l0IylOPCNkiqOgMyA/giphy.gif)
Weights represent the knowledge that the model has learned from the
training data
The primary function of a model is to make predictions or classifications based on input data. The weights are what allow the model to perform this function accurately. Without weights, the model cannot process the input data correctly to produce meaningful outputs.
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460528/features.webp)
Model trained to recognize cars will have weights that enable it to distinguish different cars
Model + Weights = Accurate Predictions
hopefully
Fine-tuning?
adjusting weights to minimize error
Bird or Not
![](https://s3.amazonaws.com/media-p.slid.es/uploads/549074/images/11460541/tasks.png)
What would be the Machine Learning approach?
What would be the Deep Learning approach?
Training
vs
Inference
Training
Training is the process of teaching the model using historical data, adjusting weights to minimize error
What would training look like for
"Bird or Not"
Inference
Inference is using the trained model to make predictions on new data.
What is used in production?
Homework
![](https://media.giphy.com/media/3oEjI5pYnV0zNvKzXa/source.gif)
Intro To Deep Learning
By Leon Noel
Intro To Deep Learning
- 137