Machine Learning & AI
Basic
Logistic Regression
Applies the sigmoid to a linear model to output a class probability.
Formula
Variables
\mathbf{w}Weights
\mathbf{x}Features
bBias
Example
linear score 0: probability = 0.5
Did You Know?
Despite the name, logistic regression is a classification algorithm, not a regression one.
Share this formula
More in Machine Learning & AI
View allLinear Regression Model
BasicPredicts a continuous value as a weighted sum of input features plus a bias.
Gradient 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.