Skip to main content

Day 10 – Introduction to Scikit-Learn

Published 2 min readMarkdown

Hey everyone πŸ‘‹, Dhairya here.

Today marks a special milestone in my AI/ML Internship Prep Challenge β€” I started working with Scikit-Learn (sklearn), one of the most important libraries in the ML ecosystem. After building up the math and probability foundations, today was about finally bridging into a practical ML framework.


πŸ”’ What I Learned Today

1. What is Scikit-Learn?

  • A Python library for machine learning and data science.

  • Provides tools for:

    • Data preprocessing

    • Model training (classification, regression, clustering)

    • Model evaluation

2. Datasets in Sklearn

  • Comes with built-in toy datasets like Iris, Digits, Wine.

  • Great for experimenting with algorithms quickly.

3. Train-Test Split

  • Splitting data into training and testing sets is crucial for evaluating ML models.

  • train_test_split makes this very easy.

4. First Classifier: k-Nearest Neighbors (kNN)

  • Simple and intuitive algorithm.

  • Classifies data points based on their neighbors.

  • Accuracy depends on choosing the right value of k.


🌱 Reflections

Using Scikit-Learn felt like finally stepping into the toolbox of a real ML engineer. With just a few lines of code, I was able to load datasets, split them, and train models. I’m really excited about what comes next!


πŸ’» Notebook

My Day 10 notebook is here πŸ‘‰ GitHub Link – Day 10 Notebook


πŸ“š Resources

πŸŽ₯ YouTube

🌐 Websites


🎯 What’s Next?

For Day 11, I’ll explore Linear Regression with Scikit-Learn.

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. πŸ˜€πŸ‘Š

No comments yet. Be the first to comment.

More from this blog