Machine Learning & AI
Basic
Linear Regression Model
Predicts a continuous value as a weighted sum of input features plus a bias.
Formula
Variables
\hat{y}Prediction
\mathbf{w}Weight vector
\mathbf{x}Feature vector
bBias
Example
Weights [2,3], x=[1,4], b=1: y = 2+12+1 = 15
Did You Know?
Linear regression dates to Gauss and Legendre around 1800 — the oldest algorithm still core to modern ML.
Share this formula
More in Machine Learning & AI
View allGradient Descent Update
BasicIteratively moves parameters in the direction that most reduces the loss.
ReLU Activation
BasicRectified Linear Unit: outputs the input if positive, else zero.
Leaky ReLU
BasicA ReLU variant that lets a small gradient flow for negative inputs.
Tanh Activation
BasicSquashes input to the range (-1, 1); zero-centred activation.
Softmax
BasicTurns a vector of scores into a probability distribution that sums to 1.
Binary Cross-Entropy
BasicLoss for binary classification comparing predicted probability to the true label.