LoginSignup
0
0

More than 3 years have passed since last update.

パーセプトロン

Last updated at Posted at 2020-04-04

パーセプトロン

複数の信号を入力として受け取り、1つの信号を出力する論理回路

スクリーンショット 2020-04-04 22.39.09.png

\begin{align}
y
 =
  \begin{cases}
    0 & ( \ w_1x_1 + w_2x_2 \leqq \theta \ ) \\
    1 & ( \ w_1x_1 + w_2x_2 \gt \theta \ )
  \end{cases}
\end{align} 
記号 意味
$x_1, x_2$ 入力信号
$w_1, w_2$ 入力への重み。各入力の重要性をコントロール
$y$ 出力信号
$○$ ニューロン、ノード
$\rightarrow$ エッジ。ノード間を結ぶ
$\theta$ 閾値、またはバイアス。越えると1を出力(発火)する

しかし、単純なパーセプトロンの場合、XORゲートが表現できない

スクリーンショット 2020-04-04 23.44.08.png

では、どうするか? 
その解は多層パーセプトロン

多層パーセプトロン

AND、NAND、OR、を組み合わせて XORゲートを作る

スクリーンショット 2020-04-04 23.49.32.png

スクリーンショット 2020-04-04 23.50.15.png

スクリーンショット 2020-04-04 23.52.43.png

スクリーンショット 2020-04-04 23.53.31.png

まとめ

  • パーセプトロンは入出力を備えたアルゴリズム
  • パーセプトロンでは「重み」と「バイアス」をパラメータとして設定する
  • XORゲートは単層パーセプトロンでは設定できない
  • 単層のパーセプトロンで表現できるのは線形領域だけ
  • 多層パーセプトロンを用いればXORゲートを表現できる
  • 多層パーセプトロンは非線形な領域を表現できる

参照

ゼロから作るDeep Learning

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0