009-lec-001. resolve xor question by deep learning
@
$$$x_{1}$$$ $$$x_{2}$$$ $$$y_{1}$$$ $$$y_{2}$$$ $$$\hat{y}$$$ $$$xor$$$
0 0 0 1 0 0
If $$$x_{1}=0$$$, $$$x_{2}=0$$$, $$$XW+B = H(X)$$$
$$$\begin{bmatrix} 0 & 0 \end{bmatrix} \begin{bmatrix} 0 \\ 0 \end{bmatrix} -8=-8$$$
$$$y_{1} = sigmoid(-8) = 0$$$
$$$\begin{bmatrix} 0 & 0 \end{bmatrix} \begin{bmatrix} -7 \\ -7 \end{bmatrix} +3=3$$$
$$$y_{1} = sigmoid(3) = 1$$$
$$$\begin{bmatrix} 0 & 1 \end{bmatrix} \begin{bmatrix} -11 \\ -11 \end{bmatrix} +6=-5$$$
$$$\hat{y} = sigmoid(-5) = 0$$$