Hi,
there is binary test of to be a prime number or not.
With 2 Hidden Layers it is hard to show.
But with 3(!) Hidden Layers suddently you see something
Dietmar
PS: With more layers, it becomes even more clear that 1, 5, 7, 11, 13..
are the correct prime numbers, but 2 and 3 not.
package hiddenlayers3;
import org.apache.commons.math3.util.FastMath;
import java.security.SecureRandom;
public class HiddenLayers3 {
private final int numInputNodes = 9;
private final int numHiddenNodes1 = 12;
private final int numHiddenNodes2 = 12;
private final int numHiddenNodes3 = 12;
private final int numOutputNodes = 1;
private final double learningRate = 0.0003;
private final int numEpochs = 100000;
private final double errorThreshold = 0.00000000001;
private double[][] inputToHidden1Weights;
private double[][] hidden1ToHidden2Weights;
private double[][] hidden2ToHidden3Weights;
private double[][] hidden3ToOutputWeights;
private double[] hidden1Biases;
private double[] hidden2Biases;
private double[] hidden3Biases;
private double[] outputBiases;
public HiddenLayers3() {
SecureRandom random = new SecureRandom();
inputToHidden1Weights = new double[numInputNodes][numHiddenNodes1];
hidden1ToHidden2Weights = new double[numHiddenNodes1][numHiddenNodes2];
hidden2ToHidden3Weights = new double[numHiddenNodes2][numHiddenNodes3];
hidden3ToOutputWeights = new double[numHiddenNodes3][numOutputNodes];
hidden1Biases = new double[numHiddenNodes1];
hidden2Biases = new double[numHiddenNodes2];
hidden3Biases = new double[numHiddenNodes3];
outputBiases = new double[numOutputNodes];
for (int i = 0; i < numInputNodes; i++) {
for (int j = 0; j < numHiddenNodes1; j++) {
inputToHidden1Weights[i][j] = 0.3 * random.nextGaussian();
}
}
for (int i = 0; i < numHiddenNodes1; i++) {
for (int j = 0; j < numHiddenNodes2; j++) {
hidden1ToHidden2Weights[i][j] = 0.3 * random.nextGaussian();
}
hidden1Biases[i] = 0.3 * random.nextGaussian();
}
for (int i = 0; i < numHiddenNodes2; i++) {
for (int j = 0; j < numHiddenNodes3; j++) {
hidden2ToHidden3Weights[i][j] = 0.3 * random.nextGaussian();
}
hidden2Biases[i] = 0.3 * random.nextGaussian();
}
for (int i = 0; i < numHiddenNodes3; i++) {
for (int j = 0; j < numOutputNodes; j++) {
hidden3ToOutputWeights[i][j] = 0.3 * random.nextGaussian();
}
hidden3Biases[i] = 0.3 * random.nextGaussian();
}
for (int i = 0; i < numOutputNodes; i++) {
outputBiases[i] = 0.3 * random.nextGaussian();
}
}
public double relu(double x) {
return FastMath.max(0, x);
}
public double reluDerivative(double x) {
return x > 0 ? 1 : 0;
}
public void train(double[][] trainingInputs, double[] trainingTargets) {
for (int epoch = 1; epoch <= numEpochs; epoch++) {
double totalError = 0.0;
for (int i = 0; i < trainingInputs.length; i++) {
// Skip excluded inputs
if (i == 509) {
continue;
}
double[] input = trainingInputs[i];
double target = trainingTargets[i];
// Forward propagation
double[] hiddenOutputs1 = new double[numHiddenNodes1];
for (int j = 0; j < numHiddenNodes1; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numInputNodes; k++) {
weightedSum += inputToHidden1Weights[k][j] * input[k];
}
hiddenOutputs1[j] = relu(weightedSum + hidden1Biases[j]);
}
double[] hiddenOutputs2 = new double[numHiddenNodes2];
for (int j = 0; j < numHiddenNodes2; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes1; k++) {
weightedSum += hidden1ToHidden2Weights[k][j] * hiddenOutputs1[k];
}
hiddenOutputs2[j] = relu(weightedSum + hidden2Biases[j]);
}
double[] hiddenOutputs3 = new double[numHiddenNodes3];
for (int j = 0; j < numHiddenNodes3; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes2; k++) {
weightedSum += hidden2ToHidden3Weights[k][j] * hiddenOutputs2[k];
}
hiddenOutputs3[j] = relu(weightedSum + hidden3Biases[j]);
}
double[] output = new double[numOutputNodes];
for (int j = 0; j < numOutputNodes; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes3; k++) {
weightedSum += hidden3ToOutputWeights[k][j] * hiddenOutputs3[k];
}
output[j] = relu(weightedSum + outputBiases[j]);
}
// Backward propagation
double outputError = target - output[0];
double outputDelta = outputError * reluDerivative(output[0]);
double[] hidden3Errors = new double[numHiddenNodes3];
double[] hidden3Deltas = new double[numHiddenNodes3];
for (int j = 0; j < numHiddenNodes3; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numOutputNodes; k++) {
weightedSum += hidden3ToOutputWeights[j][k] * outputDelta;
}
hidden3Errors[j] = weightedSum;
hidden3Deltas[j] = hidden3Errors[j] * reluDerivative(hiddenOutputs3[j]);
}
double[] hidden2Errors = new double[numHiddenNodes2];
double[] hidden2Deltas = new double[numHiddenNodes2];
for (int j = 0; j < numHiddenNodes2; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes3; k++) {
weightedSum += hidden2ToHidden3Weights[j][k] * hidden3Deltas[k];
}
hidden2Errors[j] = weightedSum;
hidden2Deltas[j] = hidden2Errors[j] * reluDerivative(hiddenOutputs2[j]);
}
double[] hidden1Errors = new double[numHiddenNodes1];
double[] hidden1Deltas = new double[numHiddenNodes1];
for (int j = 0; j < numHiddenNodes1; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes2; k++) {
weightedSum += hidden1ToHidden2Weights[j][k] * hidden2Deltas[k];
}
hidden1Errors[j] = weightedSum;
hidden1Deltas[j] = hidden1Errors[j] * reluDerivative(hiddenOutputs1[j]);
}
// Update weights and biases
for (int j = 0; j < numHiddenNodes3; j++) {
for (int k = 0; k < numOutputNodes; k++) {
hidden3ToOutputWeights[j][k] += learningRate * outputDelta * hiddenOutputs3[j];
}
hidden3Biases[j] += learningRate * hidden3Deltas[j];
}
for (int j = 0; j < numHiddenNodes2; j++) {
for (int k = 0; k < numHiddenNodes3; k++) {
hidden2ToHidden3Weights[j][k] += learningRate * hidden3Deltas[k] * hiddenOutputs2[j];
}
hidden2Biases[j] += learningRate * hidden2Deltas[j];
}
for (int j = 0; j < numHiddenNodes1; j++) {
for (int k = 0; k < numHiddenNodes2; k++) {
hidden1ToHidden2Weights[j][k] += learningRate * hidden2Deltas[k] * hiddenOutputs1[j];
}
hidden1Biases[j] += learningRate * hidden1Deltas[j];
}
for (int j = 0; j < numInputNodes; j++) {
for (int k = 0; k < numHiddenNodes1; k++) {
inputToHidden1Weights[j][k] += learningRate * hidden1Deltas[k] * input[j];
}
}
for (int j = 0; j < numOutputNodes; j++) {
outputBiases[j] += learningRate * outputDelta;
}
// Calculate total error
totalError += Math.pow(outputError, 2);
}
if (epoch % 2000 == 0) {
System.out.println("Epoch " + epoch + ", Error: " + totalError);
}
if (totalError < errorThreshold) {
System.out.println("Converged at epoch " + epoch);
break;
}
}
}
public double predict(double[] input) {
double[] hiddenOutputs1 = new double[numHiddenNodes1];
for (int j = 0; j < numHiddenNodes1; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numInputNodes; k++) {
weightedSum += inputToHidden1Weights[k][j] * input[k];
}
hiddenOutputs1[j] = relu(weightedSum + hidden1Biases[j]);
}
double[] hiddenOutputs2 = new double[numHiddenNodes2];
for (int j = 0; j < numHiddenNodes2; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes1; k++) {
weightedSum += hidden1ToHidden2Weights[k][j] * hiddenOutputs1[k];
}
hiddenOutputs2[j] = relu(weightedSum + hidden2Biases[j]);
}
double[] hiddenOutputs3 = new double[numHiddenNodes3];
for (int j = 0; j < numHiddenNodes3; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes2; k++) {
weightedSum += hidden2ToHidden3Weights[k][j] * hiddenOutputs2[k];
}
hiddenOutputs3[j] = relu(weightedSum + hidden3Biases[j]);
}
double[] output = new double[numOutputNodes];
for (int j = 0; j < numOutputNodes; j++) {
double weightedSum = 0.0;
for (int k = 0; k < numHiddenNodes3; k++) {
weightedSum += hidden3ToOutputWeights[k][j] * hiddenOutputs3[k];
}
output[j] = relu(weightedSum + outputBiases[j]);
}
return output[0];
}
public static void main(String[] args) {
// Example usage of the neural network
double[][] trainingInputs =
{
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 1},
{0, 0, 0, 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, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0
};
HiddenLayers3 nn = new HiddenLayers3();
nn.train(trainingInputs, trainingTargets);
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 0, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 0, 1, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 0, 1, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 0, 1, 1, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 0, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 0, 1, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [0, 1, 1, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{0, 1, 1, 1, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 0, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 0, 1, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 0, 1, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 0, 1, 1, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 0, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 0, 1, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 0, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 0, 1, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 0, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 0, 1, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 0, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 0, 1, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 0, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 0, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 0, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 0, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 0, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 0, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 0, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 0, 1, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 1, 0, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 1, 0, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 1, 0, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 1, 0, 1}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 1, 1, 0]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 1, 1, 0}));
System.out.println("Prediction for [1, 1, 1, 1, 1, 1, 1, 1, 1]: " + nn.predict(new double[]{1, 1, 1, 1, 1, 1, 1, 1, 1}));
}
}
run:
Epoch 2000, Error: 52.451551882360036
Epoch 4000, Error: 31.707144021981634
Epoch 6000, Error: 16.8717906992642
Epoch 8000, Error: 11.580722094331293
Epoch 10000, Error: 8.481827590063295
Epoch 12000, Error: 6.956125519486862
Epoch 14000, Error: 5.568760773703237
Epoch 16000, Error: 4.493248237614515
Epoch 18000, Error: 3.7103603783767722
Epoch 20000, Error: 3.2636811254227696
Epoch 22000, Error: 2.7855791672626737
Epoch 24000, Error: 2.3907075512281533
Epoch 26000, Error: 2.103757600728982
Epoch 28000, Error: 1.8203912755088996
Epoch 30000, Error: 1.6460082295246317
Epoch 32000, Error: 1.4841126968404992
Epoch 34000, Error: 1.3425065139755252
Epoch 36000, Error: 1.238685963743492
Epoch 38000, Error: 1.1614882249300917
Epoch 40000, Error: 1.1055794269285453
Epoch 42000, Error: 1.0609986005185013
Epoch 44000, Error: 1.010127928687235
Epoch 46000, Error: 0.9767334629057545
Epoch 48000, Error: 0.944380151468777
Epoch 50000, Error: 0.9168364797299632
Epoch 52000, Error: 0.8871847496247405
Epoch 54000, Error: 0.8674593415148122
Epoch 56000, Error: 0.8517135803358193
Epoch 58000, Error: 0.8274156019736346
Epoch 60000, Error: 0.8077891758568904
Epoch 62000, Error: 0.7903260271817737
Epoch 64000, Error: 0.7738944754375546
Epoch 66000, Error: 0.7596446130912603
Epoch 68000, Error: 0.7455503467843242
Epoch 70000, Error: 0.733113053729717
Epoch 72000, Error: 0.7216830384255954
Epoch 74000, Error: 0.7107172209302016
Epoch 76000, Error: 0.6999204977286727
Epoch 78000, Error: 0.6909253442159263
Epoch 80000, Error: 0.6779540581815748
Epoch 82000, Error: 0.6729191214068203
Epoch 84000, Error: 0.6647472478558226
Epoch 86000, Error: 0.6545041538259536
Epoch 88000, Error: 0.6485849487137458
Epoch 90000, Error: 0.6409668625457688
Epoch 92000, Error: 0.6338876210454332
Epoch 94000, Error: 0.6271993960133858
Epoch 96000, Error: 0.6200443392722925
Epoch 98000, Error: 0.6131641962113463
Epoch 100000, Error: 0.6055875978978504
Prediction for [0, 0, 0, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 0, 0, 0, 1]: 1.0029322924298496
Prediction for [0, 0, 0, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 0, 0, 1, 1]: 0.0
Prediction for [0, 0, 0, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 0, 1, 0, 1]: 1.0001584132525174
Prediction for [0, 0, 0, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 0, 1, 1, 1]: 1.002008788417899
Prediction for [0, 0, 0, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 1, 0, 0, 1]: 0.0
Prediction for [0, 0, 0, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 1, 0, 1, 1]: 1.0007155017702454
Prediction for [0, 0, 0, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 1, 1, 0, 1]: 1.0037306797702428
Prediction for [0, 0, 0, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 0, 1, 1, 1, 1]: 0.0
Prediction for [0, 0, 0, 0, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 0, 0, 0, 1]: 1.0082046849989963
Prediction for [0, 0, 0, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 0, 0, 1, 1]: 1.000963020031036
Prediction for [0, 0, 0, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 0, 1, 0, 1]: 0.0
Prediction for [0, 0, 0, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 0, 1, 1, 1]: 1.000951902224271
Prediction for [0, 0, 0, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 1, 0, 0, 1]: 0.005561024998525177
Prediction for [0, 0, 0, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 1, 0, 1, 1]: 0.0
Prediction for [0, 0, 0, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 1, 1, 0, 1]: 1.0032833984102814
Prediction for [0, 0, 0, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 0, 1, 1, 1, 1, 1]: 0.9998506288613376
Prediction for [0, 0, 0, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 0, 0, 0, 1]: 0.0
Prediction for [0, 0, 0, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 0, 0, 1, 1]: 0.0
Prediction for [0, 0, 0, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 0, 1, 0, 1]: 0.9969347909902329
Prediction for [0, 0, 0, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 0, 1, 1, 1]: 0.0
Prediction for [0, 0, 0, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 1, 0, 0, 1]: 1.0002154142574202
Prediction for [0, 0, 0, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 1, 0, 1, 1]: 1.0030008166588216
Prediction for [0, 0, 0, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 1, 1, 0, 1]: 0.0
Prediction for [0, 0, 0, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 0, 1, 1, 1, 1]: 0.9996787139196419
Prediction for [0, 0, 0, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 0, 0, 0, 1]: 0.0
Prediction for [0, 0, 0, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 0, 0, 1, 1]: 0.0
Prediction for [0, 0, 0, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 0, 1, 0, 1]: 0.995948835587976
Prediction for [0, 0, 0, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 0, 1, 1, 1]: 0.0158368874968855
Prediction for [0, 0, 0, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 1, 0, 0, 1]: 0.0
Prediction for [0, 0, 0, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 1, 0, 1, 1]: 1.0024567019333235
Prediction for [0, 0, 0, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 1, 1, 0, 1]: 0.9971564442587857
Prediction for [0, 0, 0, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 0, 1, 1, 1, 1, 1, 1]: 2.3147283027302734E-4
Prediction for [0, 0, 1, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 0, 0, 0, 1]: 0.003074418341085572
Prediction for [0, 0, 1, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 0, 0, 1, 1]: 0.9973577943526859
Prediction for [0, 0, 1, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 0, 1, 0, 1]: 0.0
Prediction for [0, 0, 1, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 0, 1, 1, 1]: 0.9991616724279542
Prediction for [0, 0, 1, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 1, 0, 0, 1]: 1.005528364690135
Prediction for [0, 0, 1, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 1, 0, 1, 1]: 0.0
Prediction for [0, 0, 1, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 1, 1, 0, 1]: 0.0
Prediction for [0, 0, 1, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 0, 1, 1, 1, 1]: 1.0004561835061123
Prediction for [0, 0, 1, 0, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 0, 0, 0, 1]: 0.0
Prediction for [0, 0, 1, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 0, 0, 1, 1]: 0.9987012057436155
Prediction for [0, 0, 1, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 0, 1, 0, 1]: 0.0
Prediction for [0, 0, 1, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 0, 1, 1, 1]: 0.0
Prediction for [0, 0, 1, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 1, 0, 0, 1]: 0.9984621571718089
Prediction for [0, 0, 1, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 1, 0, 1, 1]: 0.0
Prediction for [0, 0, 1, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 1, 1, 0, 1]: 0.0
Prediction for [0, 0, 1, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 0, 1, 1, 1, 1, 1]: 0.0011346559539746615
Prediction for [0, 0, 1, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 0, 0, 0, 1]: 0.9954658664640776
Prediction for [0, 0, 1, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 0, 0, 1, 1]: 0.0
Prediction for [0, 0, 1, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 0, 1, 0, 1]: 0.9987444506721506
Prediction for [0, 0, 1, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 0, 1, 1, 1]: 1.0032651415297291
Prediction for [0, 0, 1, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 1, 0, 0, 1]: 0.0
Prediction for [0, 0, 1, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 1, 0, 1, 1]: 1.0009779538084969
Prediction for [0, 0, 1, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 1, 1, 0, 1]: 0.9950502153396128
Prediction for [0, 0, 1, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 0, 1, 1, 1, 1]: 0.0
Prediction for [0, 0, 1, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 0, 0, 0, 1]: 1.0072640440983252
Prediction for [0, 0, 1, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 0, 0, 1, 1]: 0.0
Prediction for [0, 0, 1, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 0, 1, 0, 1]: 0.0
Prediction for [0, 0, 1, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 0, 1, 1, 1]: 0.0
Prediction for [0, 0, 1, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 1, 0, 0, 1]: 0.0024867453421006935
Prediction for [0, 0, 1, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 1, 0, 1, 1]: 0.0
Prediction for [0, 0, 1, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 1, 1, 0, 1]: 0.003951581166587115
Prediction for [0, 0, 1, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 0, 1, 1, 1, 1, 1, 1, 1]: 1.0099197376094073
Prediction for [0, 1, 0, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 0, 0, 0, 1]: 0.0
Prediction for [0, 1, 0, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 0, 0, 1, 1]: 1.0003574604694494
Prediction for [0, 1, 0, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 0, 1, 0, 1]: 0.008034098569987602
Prediction for [0, 1, 0, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 0, 1, 1, 1]: 0.0
Prediction for [0, 1, 0, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 1, 0, 0, 1]: 1.003767365944774
Prediction for [0, 1, 0, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 1, 0, 1, 1]: 1.0004039877691122
Prediction for [0, 1, 0, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 1, 1, 0, 1]: 0.0
Prediction for [0, 1, 0, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 0, 1, 1, 1, 1]: 0.002685637474658442
Prediction for [0, 1, 0, 0, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 0, 0, 0, 1]: 0.040853334077697756
Prediction for [0, 1, 0, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 0, 0, 1, 1]: 0.0
Prediction for [0, 1, 0, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 0, 1, 0, 1]: 1.0119659306907662
Prediction for [0, 1, 0, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 0, 1, 1, 1]: 1.0088770661412285
Prediction for [0, 1, 0, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 1, 0, 0, 1]: 0.0
Prediction for [0, 1, 0, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 1, 0, 1, 1]: 0.0
Prediction for [0, 1, 0, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 1, 1, 0, 1]: 1.0078258598722476
Prediction for [0, 1, 0, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 0, 1, 1, 1, 1, 1]: 0.0
Prediction for [0, 1, 0, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 0, 0, 0, 1]: 0.010865775047043336
Prediction for [0, 1, 0, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 0, 0, 1, 1]: 1.0026820538452599
Prediction for [0, 1, 0, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 0, 1, 0, 1]: 0.0
Prediction for [0, 1, 0, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 0, 1, 1, 1]: 1.0103824777788928
Prediction for [0, 1, 0, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 1, 0, 0, 1]: 0.008447198771444953
Prediction for [0, 1, 0, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 1, 0, 1, 1]: 0.0
Prediction for [0, 1, 0, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 1, 1, 0, 1]: 1.0106172905539639
Prediction for [0, 1, 0, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 0, 1, 1, 1, 1]: 0.016426590280938846
Prediction for [0, 1, 0, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 0, 0, 0, 1]: 0.0
Prediction for [0, 1, 0, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 0, 0, 1, 1]: 1.0147024963749471
Prediction for [0, 1, 0, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 0, 1, 0, 1]: 0.981471700164998
Prediction for [0, 1, 0, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 0, 1, 1, 1]: 0.0
Prediction for [0, 1, 0, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 1, 0, 0, 1]: 0.0
Prediction for [0, 1, 0, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 1, 0, 1, 1]: 0.006292934771463088
Prediction for [0, 1, 0, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 1, 1, 0, 1]: 0.0
Prediction for [0, 1, 0, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 0, 1, 1, 1, 1, 1, 1]: 1.0010245701603866
Prediction for [0, 1, 1, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 0, 0, 0, 1]: 0.9852238389874755
Prediction for [0, 1, 1, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 0, 0, 1, 1]: 0.0
Prediction for [0, 1, 1, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 0, 1, 0, 1]: 0.9884693909925657
Prediction for [0, 1, 1, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 0, 1, 1, 1]: 0.9908295627355495
Prediction for [0, 1, 1, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 1, 0, 0, 1]: 0.0
Prediction for [0, 1, 1, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 1, 0, 1, 1]: 0.0
Prediction for [0, 1, 1, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 1, 1, 0, 1]: 0.0
Prediction for [0, 1, 1, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 0, 1, 1, 1, 1]: 0.0
Prediction for [0, 1, 1, 0, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 0, 0, 0, 1]: 0.0
Prediction for [0, 1, 1, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 0, 0, 1, 1]: 0.9717382559173222
Prediction for [0, 1, 1, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 0, 1, 0, 1]: 0.0
Prediction for [0, 1, 1, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 0, 1, 1, 1]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 0, 0, 1]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 0, 1, 1]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 1, 0, 1]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 0, 1, 1, 1, 1, 1]: 0.9882074199299513
Prediction for [0, 1, 1, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 0, 0, 0, 1]: 0.0
Prediction for [0, 1, 1, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 0, 0, 1, 1]: 1.0009047154183124
Prediction for [0, 1, 1, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 0, 1, 0, 1]: 1.0060251513369316
Prediction for [0, 1, 1, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 0, 1, 1, 1]: 0.0
Prediction for [0, 1, 1, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 1, 0, 0, 1]: 0.9992772409937345
Prediction for [0, 1, 1, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 1, 0, 1, 1]: 0.0
Prediction for [0, 1, 1, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 1, 1, 0, 1]: 0.0
Prediction for [0, 1, 1, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 0, 1, 1, 1, 1]: 0.9940313730861083
Prediction for [0, 1, 1, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 0, 0, 0, 1]: 0.6114210701473386
Prediction for [0, 1, 1, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 0, 0, 1, 1]: 0.0
Prediction for [0, 1, 1, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 0, 1, 0, 1]: 0.0
Prediction for [0, 1, 1, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 0, 1, 1, 1]: 0.18617672247726214
Prediction for [0, 1, 1, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 1, 0, 0, 1]: 0.0
Prediction for [0, 1, 1, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 1, 0, 1, 1]: 1.009648230629593
Prediction for [0, 1, 1, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 1, 1, 0, 1]: 0.0
Prediction for [0, 1, 1, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [0, 1, 1, 1, 1, 1, 1, 1, 1]: 0.0
Prediction for [1, 0, 0, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 0, 0, 0, 1]: 0.9903749254970613
Prediction for [1, 0, 0, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 0, 0, 1, 1]: 0.0
Prediction for [1, 0, 0, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 0, 1, 0, 1]: 0.003299527614217812
Prediction for [1, 0, 0, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 0, 1, 1, 1]: 0.9944588157043315
Prediction for [1, 0, 0, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 1, 0, 0, 1]: 0.0
Prediction for [1, 0, 0, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 1, 0, 1, 1]: 0.0
Prediction for [1, 0, 0, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 1, 1, 0, 1]: 1.0038817245799683
Prediction for [1, 0, 0, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 0, 1, 1, 1, 1]: 1.0097622139159244
Prediction for [1, 0, 0, 0, 1, 0, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 0, 0, 0, 1]: 0.001327405061337661
Prediction for [1, 0, 0, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 0, 0, 1, 1]: 0.0
Prediction for [1, 0, 0, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 0, 1, 0, 1]: 1.0034214532504366
Prediction for [1, 0, 0, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 0, 1, 1, 1]: 0.0
Prediction for [1, 0, 0, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 1, 0, 0, 1]: 1.0019759765421536
Prediction for [1, 0, 0, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 1, 0, 1, 1]: 1.0026692260329328
Prediction for [1, 0, 0, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 1, 1, 0, 1]: 0.0
Prediction for [1, 0, 0, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 0, 1, 1, 1, 1, 1]: 0.0
Prediction for [1, 0, 0, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 0, 0, 0, 1]: 0.0
Prediction for [1, 0, 0, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 0, 0, 1, 1]: 0.0
Prediction for [1, 0, 0, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 0, 1, 0, 1]: 0.9913182367838012
Prediction for [1, 0, 0, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 0, 1, 1, 1]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 0, 0, 1]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 0, 1, 1]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 1, 0, 1]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 0, 1, 1, 1, 1]: 0.0
Prediction for [1, 0, 0, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 0, 0, 0, 1]: 0.0
Prediction for [1, 0, 0, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 0, 0, 1, 1]: 0.9884657828164292
Prediction for [1, 0, 0, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 0, 1, 0, 1]: 0.0
Prediction for [1, 0, 0, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 0, 1, 1, 1]: 1.007706869050522
Prediction for [1, 0, 0, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 1, 0, 0, 1]: 0.9905506184428328
Prediction for [1, 0, 0, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 1, 0, 1, 1]: 0.0
Prediction for [1, 0, 0, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 1, 1, 0, 1]: 0.9908097283399391
Prediction for [1, 0, 0, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 0, 1, 1, 1, 1, 1, 1]: 0.018700973863153614
Prediction for [1, 0, 1, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 0, 0, 0, 1]: 0.0
Prediction for [1, 0, 1, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 0, 0, 1, 1]: 0.0
Prediction for [1, 0, 1, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 0, 1, 0, 1]: 0.0
Prediction for [1, 0, 1, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 0, 1, 1, 1]: 0.010484141864332663
Prediction for [1, 0, 1, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 1, 0, 0, 1]: 0.0
Prediction for [1, 0, 1, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 1, 0, 1, 1]: 0.9999368432780287
Prediction for [1, 0, 1, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 1, 1, 0, 1]: 0.0
Prediction for [1, 0, 1, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 0, 1, 1, 1, 1]: 0.00894501653227886
Prediction for [1, 0, 1, 0, 1, 0, 0, 0, 0]: 6.325675827958399E-4
Prediction for [1, 0, 1, 0, 1, 0, 0, 0, 1]: 0.9926826333628851
Prediction for [1, 0, 1, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 1, 0, 0, 1, 1]: 0.0
Prediction for [1, 0, 1, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 0, 1, 0, 1, 0, 1]: 0.0011776294270866572
Prediction for [1, 0, 1, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 1, 0, 1, 1, 1]: 0.0
Prediction for [1, 0, 1, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 1, 0, 1, 1, 0, 0, 1]: 0.0
Prediction for [1, 0, 1, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 1, 1, 0, 1, 1]: 1.0025469896244266
Prediction for [1, 0, 1, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 0, 1, 1, 1, 0, 1]: 1.0009280034665604
Prediction for [1, 0, 1, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 0, 1, 1, 1, 1, 1]: 0.0
Prediction for [1, 0, 1, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 0, 0, 0, 1]: 0.9815680022422706
Prediction for [1, 0, 1, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 0, 0, 1, 1]: 0.0
Prediction for [1, 0, 1, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 0, 1, 0, 1]: 0.0
Prediction for [1, 0, 1, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 0, 1, 1, 1]: 0.9921492505637959
Prediction for [1, 0, 1, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 1, 0, 0, 1]: 0.0
Prediction for [1, 0, 1, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 1, 0, 1, 1]: 0.0
Prediction for [1, 0, 1, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 1, 1, 0, 1]: 0.0
Prediction for [1, 0, 1, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 0, 1, 1, 1, 1]: 1.0058506535338259
Prediction for [1, 0, 1, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 0, 0, 0, 1]: 0.0
Prediction for [1, 0, 1, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 0, 0, 1, 1]: 0.0
Prediction for [1, 0, 1, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 0, 1, 0, 1]: 0.9842785949786164
Prediction for [1, 0, 1, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 0, 1, 1, 1]: 0.0
Prediction for [1, 0, 1, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 1, 0, 0, 1]: 0.0
Prediction for [1, 0, 1, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 1, 0, 1, 1]: 0.9860285790062422
Prediction for [1, 0, 1, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 1, 1, 0, 1]: 0.0
Prediction for [1, 0, 1, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 0, 1, 1, 1, 1, 1, 1, 1]: 1.0012687993220935
Prediction for [1, 1, 0, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 0, 0, 0, 1]: 3.6797827335055544E-4
Prediction for [1, 1, 0, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 0, 0, 1, 1]: 0.0
Prediction for [1, 1, 0, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 0, 1, 0, 1]: 1.0067705093460706
Prediction for [1, 1, 0, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 0, 1, 1, 1]: 0.0
Prediction for [1, 1, 0, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 1, 0, 0, 1]: 0.0
Prediction for [1, 1, 0, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 1, 0, 1, 1]: 0.0
Prediction for [1, 1, 0, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 1, 1, 0, 1]: 1.0074994256525693
Prediction for [1, 1, 0, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 0, 1, 1, 1, 1]: 0.0
Prediction for [1, 1, 0, 0, 1, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 0, 0, 0, 1]: 0.9792758396862498
Prediction for [1, 1, 0, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 0, 0, 1, 1]: 0.027108220939364713
Prediction for [1, 1, 0, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 0, 1, 0, 1]: 0.01103436325550744
Prediction for [1, 1, 0, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 0, 1, 1, 1]: 0.0
Prediction for [1, 1, 0, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 1, 0, 0, 1]: 0.9900451173410119
Prediction for [1, 1, 0, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 1, 0, 1, 1]: 0.0
Prediction for [1, 1, 0, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 1, 1, 0, 1]: 0.0
Prediction for [1, 1, 0, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 0, 1, 1, 1, 1, 1]: 0.0
Prediction for [1, 1, 0, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 0, 0, 0, 1]: 0.0
Prediction for [1, 1, 0, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 0, 0, 1, 1]: 1.0025522830201572
Prediction for [1, 1, 0, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 0, 1, 0, 1]: 0.9729903417171206
Prediction for [1, 1, 0, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 0, 1, 1, 1]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 0, 0, 1]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 0, 1, 1]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 1, 0, 1]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 0, 1, 1, 1, 1]: 1.008686034895221
Prediction for [1, 1, 0, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 0, 0, 0, 1]: 1.360766414161855
Prediction for [1, 1, 0, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 0, 0, 1, 1]: 0.0
Prediction for [1, 1, 0, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 0, 1, 0, 1]: 0.20498420737336076
Prediction for [1, 1, 0, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 0, 1, 1, 1]: 0.8729569816038216
Prediction for [1, 1, 0, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 1, 0, 0, 1]: 0.0
Prediction for [1, 1, 0, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 1, 0, 1, 1]: 0.9954470605798269
Prediction for [1, 1, 0, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 1, 1, 0, 1]: 8.63413805419988E-4
Prediction for [1, 1, 0, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 0, 1, 1, 1, 1, 1, 1]: 0.0
Prediction for [1, 1, 1, 0, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 0, 0, 0, 1]: 0.9951285994093197
Prediction for [1, 1, 1, 0, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 0, 0, 1, 1]: 0.0
Prediction for [1, 1, 1, 0, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 0, 1, 0, 1]: 0.008758316115685894
Prediction for [1, 1, 1, 0, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 0, 1, 1, 1]: 0.012906319551016399
Prediction for [1, 1, 1, 0, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 1, 0, 0, 1]: 0.9958829827559148
Prediction for [1, 1, 1, 0, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 1, 0, 1, 1]: 0.0
Prediction for [1, 1, 1, 0, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 1, 1, 0, 1]: 1.0013555786723716
Prediction for [1, 1, 1, 0, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 0, 1, 1, 1, 1]: 0.9934860996879324
Prediction for [1, 1, 1, 0, 1, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 0, 0, 0, 1]: 0.002462085708445194
Prediction for [1, 1, 1, 0, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 0, 0, 1, 1]: 1.0125432454301517
Prediction for [1, 1, 1, 0, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 0, 1, 0, 1]: 0.0
Prediction for [1, 1, 1, 0, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 0, 1, 1, 1]: 0.0
Prediction for [1, 1, 1, 0, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 1, 0, 0, 1]: 0.0
Prediction for [1, 1, 1, 0, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 1, 0, 1, 1]: 0.008469765837671783
Prediction for [1, 1, 1, 0, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 1, 1, 0, 1]: 0.0
Prediction for [1, 1, 1, 0, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 0, 1, 1, 1, 1, 1]: 1.0039194342673046
Prediction for [1, 1, 1, 1, 0, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 0, 0, 0, 1]: 0.0
Prediction for [1, 1, 1, 1, 0, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 0, 0, 1, 1]: 0.0
Prediction for [1, 1, 1, 1, 0, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 0, 1, 0, 1]: 0.0
Prediction for [1, 1, 1, 1, 0, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 0, 1, 1, 1]: 1.007929690559581
Prediction for [1, 1, 1, 1, 0, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 1, 0, 0, 1]: 0.0
Prediction for [1, 1, 1, 1, 0, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 1, 0, 1, 1]: 1.003705966757133
Prediction for [1, 1, 1, 1, 0, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 1, 1, 0, 1]: 0.0070895358138693965
Prediction for [1, 1, 1, 1, 0, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 0, 1, 1, 1, 1]: 0.0
Prediction for [1, 1, 1, 1, 1, 0, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 0, 0, 0, 1]: 0.0
Prediction for [1, 1, 1, 1, 1, 0, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 0, 0, 1, 1]: 1.0103758625102754
Prediction for [1, 1, 1, 1, 1, 0, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 0, 1, 0, 1]: 0.0
Prediction for [1, 1, 1, 1, 1, 0, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 0, 1, 1, 1]: 0.995827451133688
Prediction for [1, 1, 1, 1, 1, 1, 0, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 1, 0, 0, 1]: 0.0
Prediction for [1, 1, 1, 1, 1, 1, 0, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 1, 0, 1, 1]: 0.0
Prediction for [1, 1, 1, 1, 1, 1, 1, 0, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 1, 1, 0, 1]: 0.7202539629771696
Prediction for [1, 1, 1, 1, 1, 1, 1, 1, 0]: 0.0
Prediction for [1, 1, 1, 1, 1, 1, 1, 1, 1]: 0.0
BUILD SUCCESSFUL (total time: 1 minute 19 seconds)