Skip to content
Probability•intermediate

Expectation and Variance

The average value and how spread out things are

Why This Matters for ML

Loss functions are expectations; variance measures uncertainty

Interactive Visualization

Interact with the visualization to explore

Mean (μ)

0

Variance (σ²)

1.00

The Key Intuition

Explore this concept through the interactive visualization. Try different parameters and observe how the output changes!

Try It Yourself

Use the visualization controls to:

  • Drag vectors to see transformations in real-time
  • Adjust parameters with sliders
  • Observe how changes affect the output
  • Connect the visual behavior to the math