PCA Tutorial: Dimensionality Reduction Explained with Python
Build PCA from scratch with SVD, match scikit-learn, and measure where it helps — variance cutoffs, reconstruction error — and where it quietly misleads.
DBSCAN Clustering: Find Clusters of Any Shape
Build DBSCAN from scratch, match scikit-learn, and stress-test eps, min_samples, feature scale, varying density, and HDBSCAN — with measured tables.
K-Means Clustering Tutorial: Choosing K and Evaluating Clusters
Build k-means from scratch, match scikit-learn, and pick k four ways — elbow, silhouette, Calinski-Harabasz, Davies-Bouldin — with measured failure cases.
Naive Bayes Classifier: Text and Tabular Examples in Python
Naive Bayes from scratch for text and tabular data, matched against scikit-learn, plus measured smoothing and the overconfidence cost of naive independence.
K-Nearest Neighbors Tutorial: Simple Classification in Python
Build a k-NN classifier from scratch with NumPy, verify it matches scikit-learn, and measure the traps: scaling, choice of k, distance weights, and noise.
Support Vector Machines Explained: Kernels and Python Examples
Maximum margin intuition, what kernels really do, linear vs RBF boundary demos, C and gamma tuning, and the calibration API replacing probability=True.
Random Forest Algorithm Explained with Python Code
Why averaging trees works: a from-scratch random forest in Python, then the full scikit-learn workflow, tuning, OOB scoring, importance caveats, and the limits.
Decision Trees in Python: Build, Visualize, and Prune
Build and visualize a decision tree in scikit-learn, overfit on purpose, then fix it with pre-pruning and cost-complexity pruning chosen by cross-validation.
Logistic Regression Explained: Build a Classifier Step by Step
Build logistic regression from scratch in NumPy, then a complete scikit-learn workflow: pipeline, evaluation, tuning, and threshold selection for real problems.
Linear Regression in Python: From Scratch to Scikit-learn
Build linear regression in Python twice: from scratch with NumPy (normal equation, gradient descent) and with scikit-learn, with every result verified.
Best Machine Learning Books for Beginners and Practitioners
The best machine learning books by level: beginner picks like ISLP and Hands-On ML, practitioner books, theory classics, and a reading plan that works.
Best Machine Learning Courses for Beginners
Best beginner machine learning courses compared: Kaggle for day one, Ng specialization for theory, Google crash course, and a free 12-week study plan.