Logistic Regression is a statistical and machine learning algorithm used for binary classification problems — where the output (target) is one of two possible values, like:
✅ Pass / ❌ Fail
👍 Yes / 👎 No
🔵 Class 0 / 🔴 Class 1
Despite its name, logistic regression is a classification algorithm, not a regression one.
1 . Import Libraries
2. Load Dataset or Create Dataset
3. View / Preprocess
4. Split The Data
5. Build The Logistic Regression Model
6. Test & Evaluate
7. Performance Analysis
8. Confusion Matrix
9. Accuracy Score