A free multi-layer perceptron library in C++

MLP is a free Multi Layer Perceptron source code developped in C++. See below a simple example on how to use the MultiLayerPerceptron C++ object to train a simple XOR using a 3 layers neural net, using 10000 iterations.

#include "mlp.h"
int main(int argc, char* argv[])
{
  int layers1[] = {2,2,1};
  MultiLayerPerceptron mlp1(3,layers1);
  mlp1.Run("xor.dat",10000);
  return 0;
}

Download

The MLP Library is distributed under the MIT License and available on github. You can use and modify the code for both personal and commercial use. But please, mention the author and send me an email if you use it.


θ  π