Skip to content
/ MLP2 Public

2-layers multi-layer perceptron demo

Notifications You must be signed in to change notification settings

rudojaksa/MLP2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

NAME

MLP2 - Multi-Layer Perceptron with two layers

DESCRIPTION

This is a demonstration of Multi-Layer Perceptron with two layers on the XOR problem in the C language. It is very simple, very small neural network. However, the backpropagation algorithm is complete. The demo relies on the use of preprocessor to beautify the math. The code can be easily extended to bigger MLP topologies and real data.

Because the XOR network and data are so tiny, the program requirements differ a lot from more typical bigger neural networks. Compiler optimizations might have different results than usually, or the double can be faster then float...

VERSION

MLP2-2.1 (c) R.Jaksa 2009,2020 GPLv3