Day 12 β Building My First Machine Learning Models
Hey everyone π Dhairya here,
Today was a huge milestone in my journey β I built my first real machine learning models using Scikit-Learn!
Until now, my focus was mostly on math, probability, and preprocessing data. Today, I finally got to see theory come to life with actual algorithms.
π’ What I Learned Today
1. Logistic Regression (Classification)
Used for binary classification problems (e.g., yes/no, spam/ham).
Outputs probabilities between 0 and 1 using the sigmoid function.
Learned how to fit, predict, and evaluate model performance with accuracy score.
2. Decision Tree Classifier
Tree-like structure to make decisions.
Splits data based on the most informative features.
Easy to visualize and interpret, making it a great starting point.
3. Model Evaluation
Confusion Matrix β understand correct vs incorrect predictions.
Accuracy Score β overall performance measure.
π± Reflections
Seeing models learn patterns from data felt magical.
Itβs crazy how just a few lines of Scikit-Learn code can transform a dataset into predictions.
I also realized the importance of evaluation β itβs not enough to just train a model; you need to measure how well itβs doing.
π» Notebook
My Day 12 notebook is available here π GitHub Link β Day 12 Notebook
π Resources
π₯ YouTube
π Websites
π― Whatβs Next?
For Day 13, Iβll explore hyperparameter tuning and improving model performance using techniques like GridSearchCV.
See you tomorrow π
β Dhairya
About the author
I'm a student, trying to find experience and develop skills, and I want to log that journey here. ππ
Comments
Join the discussionNo comments yet. Be the first to comment.