In this post I present my Christmas gift to the world: A multilayer perceptron written in C++11.

I mainly wrote this to get some practice with some of the new C++11 features such as variadic templates and lambda functions. It uses template metaprogramming to construct (but not train) the neural network at compile time. You can download the code from its github repository. It’s lacking proper documentation, but I’ve included two examples that should get you started: the xor problem and Fisher’s Iris data set.

Happy Holidays.

Aswin van Woudenberg

I'm a software engineer based in the Netherlands. Besides software, I am also interested in areas ranging from music and art to mathematics and literature.

Leave a Reply

Your email address will not be published. Required fields are marked *