Python Machine Learning

From your first model to a deployed one. These 31 tutorials cover preprocessing, feature engineering, regression, decision trees, random forests, XGBoost, SVMs, clustering, PCA, model evaluation, hyperparameter tuning, and deployment, all with scikit-learn. The series wraps with a full house price prediction project.

ML: The Math Behind Machine Learning, Intuition Before Formulas

Every machine learning model, from a plain linear regression to a giant neural network, is quietly doing one thing: shrinking a single number that measures how wrong it is. Grasp the math intuition behind that one idea and the rest of ML stops feeling like magic. This post builds it from the ground up with cost functions, gradient descent, the bias-variance tradeoff, and optimization, all shown in real numbers instead of abstract symbols. “If you can not measure it, you ... Read More

ML: What is Machine Learning? Teaching Computers to Learn from Data

Try to write down the exact rules your brain uses to recognise a friend’s face in a crowd. You cannot, and that is the whole reason machine learning exists. Some tasks are effortless for people but impossible to spell out as step-by-step instructions, so instead of writing the rules by hand, we show a computer thousands of examples and let it work out the pattern on its own. That is machine learning (ML) in a sentence. This post explains what ... Read More

ML: Setting Up ML Environment with Jupyter and scikit-learn

Your Python ML setup does not need to be complicated: this walkthrough gets your machine learning environment running fast. You will install Jupyter Notebook, scikit-learn, and the rest of the essential ML libraries, configure your workspace, and verify everything works by training a real model in 10 lines of code. “The best notebook is one where the code runs. The second best is one where the code ran last week.” Joel Grus, JupyterCon 2018 Last Updated: July 2026 | Tested ... Read More