| AND | 
| $
x_1, x_2 \in \{ 0,1 \} \\
y = x_1 ~ \mbox{AND} ~ x_2
$ $x_1$ と $x_2$ がともに $1$ であるときのみ、次のhypothesis 関数の出力は正となる。$ {\Theta}^{(1)} = \begin{pmatrix} -30 & 20 & 20 \end{pmatrix} \\ h_{\Theta}(x) = g(-30 + 20 x_1 + 20 x_2) $ | 
| OR | 
| $ x_1, x_2 \in \{ 0,1 \} \\ y = x_1 ~ \mbox{OR} ~ x_2 \\ \\ h_{\Theta}(x) = g(-10 + 20 x_1 + 20 x_2) $ | 
| NOT | 
| $ x_1 \in \{ 0,1 \} \\ y = \mbox{NOT} ~~ x_1\\ \\ h_{\Theta}(x) = g(10 - 20 x_1) $ | 
| NAND | 
| $ x_1, x_2 \in \{ 0,1 \} \\ y = x_1 ~ \mbox{NOR} ~ x_2 \\ \\ h_{\Theta}(x) = g(30 - 20 x_1 - 20 x_2) $ | 
| NOR | 
| $ x_1, x_2 \in \{ 0,1 \} \\ y = x_1 ~ \mbox{NOR} ~ x_2 \\ \\ h_{\Theta}(x) = g(10 - 20 x_1 - 20 x_2) $ | 
| ${\Theta}^{(1)}$ | 
| $\displaystyle \mbox{AND:} \\ ~~~~ {\Theta}^{(1)} = \begin{pmatrix} -30 & 20 & 20 \end{pmatrix} \\ \mbox{NOR:} \\ ~~~~ {\Theta}^{(1)} = \begin{pmatrix} 10 & -20 & -20 \end{pmatrix} \\ \mbox{OR:} \\ ~~~~ {\Theta}^{(1)} = \begin{pmatrix} -10 & 20 & 20 \end{pmatrix} \\ $ | 
これらの道具を使って XNOR オペレータを作成する。
| $x_1$ | $x_2$ | XOR | XNOR | 
|---|---|---|---|
| 0 | 0 | 0 | 1 | 
| 0 | 1 | 1 | 0 | 
| 1 | 0 | 1 | 0 | 
| 1 | 1 | 0 | 1 | 
