added more training for xor

This commit is contained in:
Lewis Van Winkle 2017-01-15 12:48:00 -06:00 committed by GitHub
parent b596fe2fd0
commit 4d2eec816e

2
test.c
View File

@ -175,7 +175,7 @@ void train_xor() {
int i, j; int i, j;
for (i = 0; i < 300; ++i) { for (i = 0; i < 500; ++i) {
for (j = 0; j < 4; ++j) { for (j = 0; j < 4; ++j) {
genann_train(ann, input[j], output + j, 3); genann_train(ann, input[j], output + j, 3);
} }