The **sigmoid** activation squashes any value into (0, 1). Its derivative is elegant and reuses the sigmoid output.
ฯ(x) = 1 / (1 + e^(-x))ฯ'(x) = ฯ(x) ร (1 - ฯ(x))sigmoid(0) โ 0.5 sigmoid(1) โ 0.73106 sigmoid_derivative(0) โ 0.25
Round to **5 decimal places**.
Similar Problems
Test Cases (3 visible ยท 2 hidden)
Case 1: Center point
Input: sigmoid(0)
Expected: 0.5
Case 2: Positive
Input: sigmoid(1)
Expected: 0.73106
Case 3: Max derivative at 0
Input: sigmoid_derivative(0)
Expected: 0.25
โโต Run ยท โโงโต Submit