//Smooth training data provides true values for the provided input dimensions.
create2DSmoothTainingDataGit();
//Create the training set and train.
MLDataSet trainingSet = new BasicMLDataSet(INPUT, IDEAL);
MLTrain train = new SVDTraining(network, trainingSet);
//SVD is a single step solve
int epoch = 1;
do
{
train.iteration();
System.out.println("Epoch #" + epoch + " Error:" + train.getError());
epoch++;
} while ((epoch < 1) && (train.getError() > 0.001));
// test the neural network
System.out.println("Neural Network Results:");
//Create a testing array which may be to a higher resoltion than the original training data