5253545556575859606162
XOR.XOR_IDEAL); System.out.println("Learning..."); TrainBasicPNN train = new TrainBasicPNN(network, trainingSet); train.iteration(); XOR.verifyXOR(network, 0.001); return network; } public void testPersistEG()
128129130131132133134135136137138
BasicMLDataSet trainingSet = new BasicMLDataSet(XOR.XOR_INPUT, XOR.XOR_IDEAL); TrainBasicPNN train = new TrainBasicPNN(network, trainingSet); train.iteration(); XOR.verifyXOR(network, 0.01); } @Test
144145146147148149150151152153
BasicMLDataSet trainingSet = new BasicMLDataSet(XOR.XOR_INPUT, XOR.XOR_IDEAL); TrainBasicPNN train = new TrainBasicPNN(network, trainingSet); train.iteration(); XOR.verifyXOR(network, 0.01); } }
135136137138139140141142143144145
151152153154155156157158159160