Activation functions

Step 3 of 14 in Deep Learning · Concept · Easy

Non-linear activations (sigmoid, tanh, ReLU, GELU) let stacked layers represent curves. Without them, any depth collapses to one linear layer.

Build it

  1. Compare activations

    Plot each activation and its derivative; train the same small net with sigmoid vs ReLU on a spiral dataset.

    Done when: Plots plus loss curves; ReLU trains faster and you explain why.

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map