ai
Everything tagged "ai".
Logistic Regression notes 7 min 07 Nov 2026 How logistic regression turns a weighted sum into a class probability: the sigmoid, reading weights as odds, the decision boundary as a hyperplane, choosing a threshold, training with log loss, and the assumptions it needs, worked through a password-attack detector. Math for Machine Learning notes 12 min 07 Nov 2026 The notation and math that machine learning papers and courses assume: sums, logs and exponentials, vectors and norms, matrices and eigenvectors, sets, and probability, each with a worked example and where ML uses it. Supervised Learning notes 14 min 07 Nov 2026 How a supervised model is built and judged: features and labels, the training loop, prediction versus inference, accuracy, precision, recall and F1, validation sets, metrics for more than two classes, overfitting and underfitting, cross-validation, L1 and L2 regularization, and class imbalance, worked through a phishing URL classifier and NSL-KDD network connections.