Skip to content
How to Learn Machine Learning
Level up your Machine Learning journey — Roadmaps, tutorials, and AI projects
  • Home
  • Articles
  • Books
    • Python Programming Books
    • Machine Learning
    • Artificial Intelligence
    • GenAI Books
    • Data Analysis
  • Online Courses
    • Python Courses
    • Best Machine Learning Courses: Choose Your Learning Path
    • Statistics and Probability Courses for Machine Learning
  • Tutorials
  • Datasets
  • Code Snippets
  • Free Roadmap
  • Starter Kit

Category: Articles

In this category you will find interesting articles about Machine Learning and Data Science, both written by us or fished online.

We have tried to cover a wide variety of topics, and we will keep posting here regularly, so be sure to follow us!

Anime ninja owl choosing between a stack of data cards and a flexible curved ruler.

Why Is My R² Score Negative on the Test Set?

Calculate a negative R² by hand and in Python, then compare your model with a baseline you could actually use at prediction time.

Anime ninja owl comparing model configurations beside a locked chest representing the held-out test set.

GridSearchCV in Python: Tune Your Model Without Test Leakage

Learn GridSearchCV with a hands-on Python example. Tune a pipeline, understand cross-validation scores, and unlock the test set with practical challenges.

Anime ninja owl guiding numeric and categorical data through cleaning, transformation and prediction.

Scikit-learn Pipeline & ColumnTransformer: A Practical Guide

Build a scikit-learn pipeline for numeric and categorical data. Handle missing values, avoid leakage, and solve practical Python challenges.

Anime ninja owl using a laptop beside three iris flowers for a first Python machine learning project.

Your First Machine Learning Project in Python: A Step-by-Step Lab

Build your first machine learning project in Python. Train an Iris classifier, beat a baseline, explore ten combinations, and evaluate your model step by step.

Friendly anime ninja owl drawing sample cards from a jar to illustrate bootstrap resampling.

Bootstrap Confidence Intervals in Python: How Certain Is Your Model’s Score?

Calculate bootstrap confidence intervals in Python and compare model errors with paired resampling. Includes tested code, a chart, and clear limitations.

Friendly anime ninja owl shuffling feature cards, with two matching cards linked by a ribbon.

Permutation Feature Importance in Python: What Your Model Actually Uses

Learn permutation feature importance in Python with tested code, a grouped-feature example, and a clear explanation of correlated-feature pitfalls.

Anime ninja owl choosing between a stack of data cards and a flexible curved ruler.

Learning Curves in Python: Will More Data Help Your Model?

Build learning curves in Python to investigate whether more training data will help. Includes tested scikit-learn code and a linear-versus-cubic comparison.

Friendly anime ninja owl examining a glowing probability orb with a magnifying glass.

Probability Calibration in Python: Can You Trust Your Model’s Probabilities?

A friendly guide to probability calibration in Python, with a tested scikit-learn example, reliability diagram, and honest before-and-after results.

Anime ninja owl adjusting a classification threshold slider.

Classification Threshold Tuning in Python: Choose the Right Cutoff

Choose a classification threshold using validation data, error costs and a tested Python example. Compare the trade-offs on an untouched test set.

Anime ninja owl presenting ROC AUC vs PR AUC, with pink-accented conceptual data displays.

ROC AUC vs PR AUC: Imbalanced Data Explained with Python

Compare ROC AUC, PR AUC and average precision with a reproducible Python example showing how class imbalance changes precision.

Posts pagination

1 2 … 17 Next »

Thanks for reading How to Learn Machine Learning!
Powered by WordPress | Theme: Write by Themegraphy