Twicked stff to work with variable num of inputs and input files. Added different activaion functions. But still don't know whether or not it is working fine. Compile and run Perceptron.java to see what it does.
working wersion of the assignment. tested with tanh and all the inputs, should look at other activation functions if make sence as well. to compile: javac mlp/Perceptron.java to run: java mlp.Perceptron