Skip to content
Snippets Groups Projects
Commit c86575db authored by Quentin Gallouédec's avatar Quentin Gallouédec
Browse files

"for regression task"

parent 9c38b675
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ Let $`Y`$ be the labels (desired output). We use mean squared error (MSE) as the
8. Similarly, express $`\frac{\partial C}{\partial W^{(1)}}`$ as a function of $`\frac{\partial C}{\partial Z^{(1)}}`$ and $`A^{(0)}`$.
9. Similarly, express $`\frac{\partial C}{\partial B^{(1)}}`$ as a function of $`\frac{\partial C}{\partial Z^{(1)}}`$.
Below is a Python code performing a forward pass and computing the cost in a network containing a hidden layer and using the sigmoid function as the activation function:
Below is a Python code performing a forward pass and computing the cost in a network containing one hidden layer for the regression task. It uses the sigmoid function as the activation function:
```python
import numpy as np
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment