Simple ANN implementation in java based on http://www.sze.hu/~gtakacs/download/Mlp.java with explanation