Update test_all.php

Esse commit está contido em:
Joy Harvel
2016-08-02 16:16:07 -07:00
commit de GitHub
commit 34f60ecc33
+2 -2
Ver Arquivo
@@ -3,7 +3,7 @@
function test($net, $test_data) {
$train_file = (dirname(__FILE__) . '/' . $net . '_float.net');
if (!is_file($train_file)) {
print('The file ' . $net . '_float.net has not been created! Please run train_all.php to generate it.<br>' . PHP_EOL);
print('The file ' . $net . '_float.net has not been created! Please run <a href="train_all.php">train_all.php</a> to generate it.<br>' . PHP_EOL);
} else{
$ann = fann_create_from_file($train_file);
if ($ann) {
@@ -45,4 +45,4 @@ test('or', array(1, -1));
test('xnor', array(-1, -1));
test('xor', array(-1, 1));
?>
?>