Nearest neighbors
k-NN classification, radius neighborhoods and feature scaling
From-scratch algorithm implementations and computational experiments exploring how machine learning works — from distance-based classifiers and decision trees to neural networks and combinatorial optimization.
Each area links directly to the original source implementation. The emphasis is on learning the mechanics of models through code, evaluation and visualization.
k-NN classification, radius neighborhoods and feature scaling
K-means, agglomerative clustering, density-based clustering and Dunn index
CART-style splitting and ROC/AUC feature evaluation
Bagged decision trees and cross-validated parameter search
Polynomial features and non-linear classification boundaries
Mini-batch logistic regression, MNIST preprocessing, CNNs on digits and letters
Linear, polynomial and RBF kernels; comparison with Random Forest
Gaussian and text Naive Bayes; polynomial least squares, Ridge and Lasso
Monte Carlo, random walk, hill climbing and genetic algorithms for TSP
Mathematical modeling, feature transformation, training loops, performance measures and data visualization.