Machine Learning & AI
Basic
ReLU Activation
Rectified Linear Unit: outputs the input if positive, else zero.
Formula
Variables
xInput value
Example
f(-3)=0, f(5)=5
Did You Know?
ReLU is astonishingly simple yet enabled the deep-learning boom by avoiding vanishing gradients.
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.
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.