Tag: series-of-ai
All the articles with the tag "series-of-ai".
Classification and Softmax Regression
A simple, visual guide to Classification, One-Hot Encoding, the Softmax Function, Cross-Entropy Loss, and its clean gradient derivation.
Generalization and Model Selection
A simple guide to generalization, model complexity, the 3-way data split, and K-Fold cross-validation in Machine Learning.
Linear Regression from Scratch with PyTorch
A comprehensive guide to Linear Regression from scratch with PyTorch — data handling (Z-score normalization, One-Hot Encoding, Log Transformation), Forward Pass, MSE Loss, Mini-batch SGD, and Modular OOP Design.
Self-Attention Mechanism
A simple explanation of Self-Attention Mechanism in Transformer architecture.