Struggling with Machine Learning algorithms? 🤖
Then you
better stay with me! 🤓
We are going back to the basics to simplify ML algorithms.
... today's turn is Logistic Regression! 👇🏻
1️⃣ 𝗟𝗢𝗚𝗜𝗦𝗧𝗜𝗖 𝗥𝗘𝗚𝗥𝗘𝗦𝗦𝗜𝗢𝗡
It is a binary classification model used to classify our input data into two main categories.
It can be extended to multiple classifications... but today we'll focus on a binary one.
Also known as Simple Logistic Regression.
2️⃣ 𝗛𝗢𝗪 𝗧𝗢 𝗖𝗢𝗠𝗣𝗨𝗧𝗘 𝗜𝗧?
The Sigmoid Function is our mathematical wand, turning numbers into neat probabilities between 0 and 1.
It's what makes Logistic Regression tick, giving us a clear 'probabilistic' picture.
3️⃣ 𝗛𝗢𝗪 𝗧𝗢 𝗗𝗘𝗙𝗜𝗡𝗘 𝗧𝗛𝗘 𝗕𝗘𝗦𝗧 𝗙𝗜𝗧?
For every parametric ML algorithm, we need a LOSS FUNCTION.
It is our map to find our optimal solution or global minimum.
(hoping there is one! 😉)
✚ 𝗕𝗢𝗡𝗨𝗦 - FROM LINEAR TO LOGISTIC REGRESSION
To obtain the sigmoid function, we can derive it from the Linear Regression equation.