HM LABS / 001
Sigmoid function
Explore the effect of weight and bias on a logistic curve.
The sigmoid function
Change the weight and bias to explore the curve.
σ(x) = 1 / (1 + e−(wx+b))
Other experiments
Gradient descent ↗
Observe how the learning rate changes convergence on a quadratic loss.
Neural network ↗
Trace a forward pass through a fixed 2–2–1 network.
Embedding space ↗
Rank synthetic 2D vectors by cosine similarity.
Self-attention ↗
Compute scaled dot-product attention over three synthetic tokens.
Binary search ↗
Step through a sorted array and observe the search interval.