Update test_all.php
Esse commit está contido em:
@@ -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));
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário