numberOfHiddenUnits = 1250;
learningRate = 0.1;
activationFunction = @logisticSigmoid;
dActivationFunction = @dLogisticSigmoid;
batchSize = 20;
epochs = 10000;
fprintf('Train twolayer perceptron with %d hidden units.\n', numberOfHiddenUnits);
fprintf('Learning rate: %d.\n', learningRate);
[hiddenWeights, outputWeights, error] = train(activationFunction, dActivationFunction, numberOfHiddenUnits, inputValues, targetValues, epochs, batchSize, learningRate);
save Train.mat hiddenWeights outputWeights