We've all dealt with activation functions while working with neural...

Scenario 1:
- Linear decision boundary
- Linear Activation function
Observe how the neural net is able to quickly learn & loss converges to zero.
Watch this 👇
- Non Linear decision boundary
- Linear Activation function
Observe how the neural net struggles to learn & the loss consistently remains high!
With linear activations it's unable to create a non-linear decision boundary.
Watch this 👇
- Non Linear decision boundary
- Non-linear Activation function (Sigmoid)
Observe how the neural net performs well this time.
With a non-linear activation function we give the network ability to create a non-linear decision boundary.
Watch this 👇
Next time we see why do we need different flavours of these non-linear activation functions.
What are the advantages of one over other.
You can play around like i did in the videos here 👇
playground.tensorflow.org
If you interested in:
- Python 🐍
- Data Science 📈
- Machine Learning 🤖
- Maths for ML 🧮
- MLOps 🛠
- NLP 🗣
- Computer Vision 🎥
- LLMs 🧠
I'm sharing daily content over here, follow me → @akshay_pachaar if you haven't already!!
Cheers!! 🙂

