Skip to content

Commit

Permalink
Merge pull request #1 from PoCInnovation/ai/day-2
Browse files Browse the repository at this point in the history
ai day2: neural networks from scratch
  • Loading branch information
agherasie authored Feb 4, 2024
2 parents 312c51c + b91a4b9 commit 44f77c2
Show file tree
Hide file tree
Showing 42 changed files with 4,005 additions and 0 deletions.
33 changes: 33 additions & 0 deletions AI/Day2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# ~ PoC AI Pool 2024 ~

- ## Day 2: Neural Networks from Scratch
- ### Module 1: Linear Regression
- **Notebook:** [`linear-regression.ipynb`](./linear-regression.ipynb)
- ### Module 2: Logistic Regression
- **Notebook:** [`logistic-regression.ipynb`](./logistic-regression.ipynb)
- ### Module 3: Deep Learning
- **Notebook:** [`deep-learning.ipynb`](./deep-learning.ipynb)

---

**Hooray : You've made it to AI !**
On today's menu, we'll enter the wonderful world of machine learning with two major algorithms : Linear and Logistic Regression, followed by the modern approach of Deep Learning using PyTorch !

> Here's a list of resources that we believe can be useful to follow along (and that we've ourselves used to learn these topics before being able to write the subjects):
## Module 1

- [3b1b's neural network series](https://www.youtube.com/watch?v=aircAruvnKk&list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi)
- [sentdex's NNFS series & book](https://www.youtube.com/watch?v=Wo5dMEP_BbI&list=PLQVvvaa0QuDcjD5BAw2DxE6OF2tius3V3)
- [andriy burkov's 100-page ML book](https://themlbook.com/) particularly [chapter 4](https://www.dropbox.com/s/xpd5x6p6jte3th5/Chapter4.pdf?dl=0)
- [the math sorcerer's video on partial derivatives](https://www.youtube.com/watch?app=desktop&v=gnkhT3XDU5s)
- [khan academy's video on the chain rule](https://www.youtube.com/watch?v=NO3AqAaAE6o)

## Module 2

- [derivating bce loss](https://www.google.com/search?sca_esv=593424282&rlz=1C5CHFA_enFR1086FR1086&sxsrf=AM9HkKnhFXQw46XVx7yP5nyzZOxkebfGWw:1703424283700&q=sigmoid&tbm=isch&source=lnms&sa=X&sqi=2&ved=2ahUKEwiXptP6laiDAxVBU6QEHVYpCxIQ0pQJegQIDhAB&biw=1512&bih=738&dpr=2)

## Module 3

- [pytorch docs](https://pytorch.org/docs/stable/index.html)
- [install pytorch](https://pytorch.org/get-started/locally/)
Binary file added AI/Day2/assets/image-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AI/Day2/assets/image-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AI/Day2/assets/image-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AI/Day2/assets/image-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AI/Day2/assets/image-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AI/Day2/assets/image-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions AI/Day2/data/houses.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
price,size
100000,100
200000,200
300000,300
400000,400
500000,500
1,067 changes: 1,067 additions & 0 deletions AI/Day2/deep-learning.ipynb

Large diffs are not rendered by default.

460 changes: 460 additions & 0 deletions AI/Day2/linear-regression.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 44f77c2

Please sign in to comment.