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.

What is an AI Model? Weights, Training, and Inference

Every time your phone finishes your sentence, or your bank flags a strange charge, an AI model is quietly doing the work. So what is an AI model, really? The honest answer is smaller than the hype suggests. A model is just a pile of numbers that got tuned, through a lot of trial and error, until they turn an input into a useful answer. Those tunable numbers are called weights, the tuning is called training, and using the finished ... Read More

AI Training Data: Where Datasets Come From and Why They Matter

AI training data is the single biggest reason a model works or quietly falls apart, and this tutorial explains where datasets come from, what a label really is, how bias sneaks in, and why the train/validation/test split is the habit that keeps you honest. If you remember one thing from the whole AI Foundations chapter, make it this: the data you feed a model matters more than the model itself. “Real stupidity beats artificial intelligence every time.” Terry Pratchett, Hogfather ... Read More

ML: End-to-End Project, House Price Prediction

What actually makes a house expensive: the square footage, the neighborhood, or the year it was built? House price prediction is the classic way to find out, and this Part 5 milestone project builds the whole thing: explore the data, fix missing values, wire a leak-free scikit-learn pipeline, compare three regression models, tune the winner, and score it once in real dollars. “The most important thing is to get your first system working, then iterate.” Andrew Ng, Machine Learning Yearning ... Read More