4 interactive lessons
Published: 2026-04-30
URL: https://www.byhand.ai/p/library-series-math-activation
The Activation series Activation functions are the small nonlinear hinges that let neural networks learn non-trivial patterns. Without them, no matter how deep the network, the whole thing collapses to a single linear map. This series introduces four of them through one running scene — five boba tea shops on the same block.
- ReLU
0 \\cr 0 & \\text{otherwise} \\end{cases}","title":null,"type":null,"href":null,"belowTheFold":false,"topImage":false,"internalRedirect":null,"isProcessing":false,"align":null,"offset":false}" class="sizing-normal" alt="\text{ReLU}(x) = \begin{cases} x & \text{if } x > 0 \cr 0 & \text{otherwise} \end{cases}" title="\text{ReLU}(x) = \begin{cases} x & \text{if } x > 0 \cr 0 & \text{otherwise} \end{cases}" srcset="https://substackcdn.com/image/fetch/$s!Vc6X!,w424,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a1cdff-75b2-4824-afee-6763fcc73289571x150.jpeg 424w, https://substackcdn.com/image/fetch/$s!Vc6X!,w848,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a1cdff-75b2-4824-afee-6763fcc73289571x150.jpeg 848w, https://substackcdn.com/image/fetch/$s!Vc6X!,w1272,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a1cdff-75b2-4824-afee-6763fcc73289571x150.jpeg 1272w, https://substackcdn.com/image/fetch/$s!Vc6X!,w1456,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89a1cdff-75b2-4824-afee-6763fcc73289571x150.jpeg 1456w" sizes="100vw"> Read ReLU →
- Leaky ReLU
0 \\cr \\alpha \\cdot x & \\text{otherwise} \\end{cases}","title":null,"type":null,"href":null,"belowTheFold":true,"topImage":false,"internalRedirect":null,"isProcessing":false,"align":null,"offset":false}" class="sizing-normal" alt="\text{LeakyReLU}(x) = \begin{cases} x & \text{if } x > 0 \cr \alpha \cdot x & \text{otherwise} \end{cases}" title="\text{LeakyReLU}(x) = \begin{cases} x & \text{if } x > 0 \cr \alpha \cdot x & \text{otherwise} \end{cases}" srcset="https://substackcdn.com/image/fetch/$s!NGUb!,w424,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8a0f86f-210c-4115-ad46-1cef15d15b92765x150.jpeg 424w, https://substackcdn.com/image/fetch/$s!NGUb!,w848,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8a0f86f-210c-4115-ad46-1cef15d15b92765x150.jpeg 848w, https://substackcdn.com/image/fetch/$s!NGUb!,w1272,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8a0f86f-210c-4115-ad46-1cef15d15b92765x150.jpeg 1272w, https://substackcdn.com/image/fetch/$s!NGUb!,w1456,climit,fauto,qauto:good,flprogressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8a0f86f-210c-4115-ad46-1cef15d15b92765x150.jpeg 1456w" sizes="100vw" loading="lazy"> Read Leaky ReLU →
- Softmax
Read Softmax →
- Sigmoid
Read Sigmoid →