Browse Source

increased training loops to 500

master
Lewis Van Winkle 2 months ago
committed by GitHub
parent
commit
4f72209510
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      example1.c

+ 1
- 1
example1.c View File

@ -23,7 +23,7 @@ int main(int argc, char *argv[])
genann *ann = genann_init(2, 1, 2, 1);
/* Train on the four labeled data points many times. */
for (i = 0; i < 300; ++i) {
for (i = 0; i < 500; ++i) {
genann_train(ann, input[0], output + 0, 3);
genann_train(ann, input[1], output + 1, 3);
genann_train(ann, input[2], output + 2, 3);


Loading…
Cancel
Save