There is an error in Python code solution CH.SOL- 5.21. The sigmoid derivative is y * (1 - y) not x * (1 - x).
There is an error in Python code solution CH.SOL- 5.21.
The sigmoid derivative is y * (1 - y) not x * (1 - x).