Blog

Articles

Long-form, code-first writing on machine learning — from gradient descent from scratch to shipping RAG systems in production.

Linear & Logistic Regression·Jul 07, 2026

From Data to Predictions: Understanding Linear Regression Through Statistics and Python

Learn how mean, variance, and covariance become the slope and intercept of a Linear Regression model. Follow one running employee-salary example from raw numbers to predictions, with runnable NumPy, Pandas, Matplotlib and Scikit-learn code — all in your browser.

Suresh Madhra
26 min read
Linear & Logistic Regression·Jul 07, 2026

Linear Regression for Machine Learning: A Complete Beginner's Guide

Learn linear regression from first principles — business intuition, math in plain English, assumptions, gradient descent, Scikit-learn implementation on the Medical Insurance dataset, evaluation metrics, interview questions and a full end-to-end project. Runnable in your browser.

Suresh Madhra
34 min read
Algorithms From Scratch·Jul 06, 2026

Python for Machine Learning: A Beginner's 7-Chapter Crash Course

Master the seven Python building blocks every ML engineer uses every day — lists, dictionaries, tuples, strings, comprehensions, enumerate/zip, and map/filter/reduce. Runnable in your browser, taught with real-world banking, healthcare and retail examples.

Suresh Madhra
28 min read
Linear & Logistic Regression·Jul 04, 2026

Ordinary Least Squares (OLS) Regression: The Complete Guide

A deep, business-driven tour of OLS regression — mathematical foundations, assumptions, diagnostics, evaluation metrics and a full Python case study on the Medical Insurance dataset. Written for beginners, analysts and interview candidates.

Suresh Madhra
38 min read
Linear & Logistic Regression·Jun 24, 2026

Gradient Descent from Scratch in Python

Implement batch, stochastic and mini-batch gradient descent from first principles — plus momentum, learning-rate decay and how to read a broken loss curve.

Suresh Madhra
12 min read
Trees & Ensembles·Jun 18, 2026

A Practical Guide to XGBoost Hyperparameter Tuning

The parameters that actually move the needle, ordered by impact, with a repeatable tuning workflow and a reference configuration.

Suresh Madhra
9 min read