Computer Science Intermediate ⏱ 15 min

Perceptron Forward Pass, Activation & Backpropagation

Adjust synaptic weights and learning rate (η) in a neural unit and trace sigmoid activation and gradient descent updates.

Live Functional Response Graph

Real-time parametric response curve updated as you adjust the controls.

Scientific Explanation & Mathematical Model

z = w₁x₁ + w₂, ŷ = σ(z) = 1 / (1 + e^(-z)), L = ½(y - ŷ)²

Variables & Units: σ(z) = 1/(1+e^(-z)); local derivative σ'(z) = σ(z)(1 - σ(z)).

Assumptions & Limitations: Supervised gradient descent with target y = 1.0.

Worked Numerical Example: With x₁ = 1.2, w₁ = 1.5, w₂ = -0.5: z = 1.30, ŷ = 0.7858, and Loss = 0.0229.

Guided Inquiry & Challenge Mode

🎯 Challenge Goal:

Set Input x₁ above its midpoint while keeping Weight w₁ below its midpoint to unlock the target state.

In Progress...

Knowledge Check

How does changing Input x₁ govern the output in z = w₁x₁ + w₂?