← all demos
Computer & Data Science

Sigmoid Activation

σ(x) = 1 / (1 + e^(−kx))
Sigmoid Activation

The logistic squashing function that maps any real input into (0,1); as the gain rises the S-curve steepens toward a hard step at the origin.

Computed & rendered in pure C# on the frozen OnlyCSharp 1.8 library — animation baked to GIF with the library's own Gif encoder (no GPU, no ffmpeg, no external packages).