Skip to content

Commit ff88ddb

Browse files
committed
Fix error simple train example
1 parent 666a978 commit ff88ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/logic_gates/simple_train.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
fann_set_activation_function_output($ann, FANN_SIGMOID_SYMMETRIC);
1616

1717
$filename = dirname(__FILE__) . "/xor.data";
18-
if (fann_train_on_file($ann, $filename, $max_epochs, $epochs_between_reports, $desired_error)) {
18+
if (fann_train_on_file($ann, $filename, $max_epochs, $epochs_between_reports, $desired_error))
1919
print('xor trained.<br>' . PHP_EOL);
2020

2121
if (fann_save($ann, dirname(__FILE__) . "/xor_float.net"))

0 commit comments

Comments
 (0)