Machine Learning & AI
Basic
Leaky ReLU
A ReLU variant that lets a small gradient flow for negative inputs.
Formula
Variables
xInput
\alphaSmall slope (e.g. 0.01)
Example
alpha=0.01, x=-2: f=-0.02
Did You Know?
Leaky ReLU fixes the "dying ReLU" problem where neurons get stuck outputting zero.
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.
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.