package analyzer;

/**
 * Generated for Unit Testing Purposes Only
 * 
 */
public class Main {

	int M = 3;
	int L = 3;
	int N = 6;

	public static void main(String[] args) {
		// StructureReader structureReader = new StructureReader("Network Structure.dnn");
		//
		// if (!structureReader.isCorrectStructure())
		// System.out.println("Incorrect Format");

		// for (int i = 0; i < 50; i++)
		// System.out.println(Trainer.randomInRange(5, -5));

		// {
		// float[] x = { 0.8f, -0.3f };
		// FeedForward feedForward = new FeedForward(x,
		// structureReader.getWeightH(), structureReader.getWeightO());
		// feedForward.applyFeedForward();
		// float[] o = feedForward.getNetOutputO();
		// for (int i = 0; i < o.length; i++)
		// System.out.print(o[i] + "\t");
		// System.out.println();
		// }

		// {
		// float[] x = { 0.9f, -0.1f };
		// float[][] weightH = { { -0.2f, 1.1f }, { -0.9f, 0.8f } };
		// float[][] weightO = { { 2.1f, -0.8f }, { -1.7f, 0.3f } };
		// float[] y = { 0.6f, 0.3f };
		// Backpropagation backpropagation = new Backpropagation(x, weightH,
		// weightO, y);
		//
		// backpropagation.applyBackpropagation();
		// }
		//
		// {
		// float[] x = { 0.8f, -0.2f };
		// float[][] weightH = { { 2.1f, -0.7f }, { 0.4f, -1.2f },
		// { 0.9f, 1.7f } };
		// float[][] weightO = { { -1.1f, 0.9f, 0.3f } };
		// float[] y = { 0.6f };
		// Backpropagation backpropagation = new Backpropagation(x, weightH,
		// weightO, y);
		//
		// backpropagation.applyBackpropagation();
		// }

		// TrainFileReader trainFileReader = new TrainFileReader("Training.txt");
		// Trainer trainer = new Trainer(trainFileReader.getInput(), trainFileReader.getOutput(), 7, 0.4f, 10);
		// trainer.startTraining();
		// System.out.println(trainer.getBestMSE());
		//
		// {
		// FeedForward test = new FeedForward(new float[] { 7.0f, 4.0f, 2015.0f }, trainer.getBestWeightH(), trainer.getBestWeightO());
		// test.applyFeedForward();
		// float[] output = test.getNetOutputO();
		// for (int i = 0; i < output.length; i++)
		// System.out.print(randomInRange((long) (10000 * output[i]), 1, 49) + "\t");
		// }
		//
		// System.out.println();
		// {
		// FeedForward test = new FeedForward(new float[] { 7.0f, 4.0f, 2015.0f }, trainer.getBestWeightH(), trainer.getBestWeightO());
		// test.applyFeedForward();
		// float[] output = test.getNetOutputO();
		// for (int i = 0; i < output.length; i++)
		// System.out.print(randomInRange((long) (10000 * output[i]), 1, 49) + "\t");
		// }
		// System.out.println(trainFileReader.getInput().length);
		// System.out.println(trainFileReader.getOutput().length);

	}

}
