Skip to content

wenyuzhao/Multilayer-Perceptron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multilayer Perceptron

Multilayer Perceptron based on NumPy

Using Backpropagation with Stochastic gradient descent to optimize network.

Layers

  • InputLayer
  • TanhLayer
  • SigmoidLayer
  • ReLULayer
  • LeakyReLULayer
  • DropoutLayer

See: nn.py

Examples

See:

  1. Basic example
  2. Auto encoder example
  3. Auto encoder & dropout example

Auto encoder performance of this example

input:
    ■
  ■ ■ ■ ■
■   ■   ■
    ■
    ■

prediction:
    ■
  ■ ■ ■
■   ■   ■
    ■
    ■

---------
input:
    ■
      ■
■ ■ ■ ■ ■
      ■ ■
    ■

prediction:
    ■
      ■
■ ■ ■ ■ ■
      ■
    ■

---------
input:
    ■
    ■
■   ■   ■
■ ■ ■ ■
    ■

prediction:
    ■
    ■
■   ■   ■
  ■ ■ ■
    ■

---------
input:
    ■
  ■
■ ■ ■ ■ ■
  ■
■   ■

prediction:
    ■
  ■
■ ■ ■ ■ ■
  ■
    ■