mharrys / perceptron

Small experiments with artificial neural networks in Torch7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perceptron

Small experiments with artificial neural networks in Torch7.

One Layer Perceptron

Learn with the delta rule how to classify linear seperable data, the script will animate the separation line during training.

fig1

Multi-Layer Perceptron (Two Layers)

Learn with backprop how to classify non-linaer seperable data.

fig2 fig3

Encoder

A classical encoder problem where the network is forced to find a compact coding of sparse data. The network has a hour glass shaped topology (8-3-8).

Function Approximation

Learn with backprop how to approximate a function (Gauss), the first plot show the exact function values and the second shows the approximation. Experiment by adjusting the number of hidden nodes and watch how the network will underfit or overfit.

fig4 fig5

References

KTH notes.

About

Small experiments with artificial neural networks in Torch7

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%