Fix error simple train example
Esse commit está contido em:
@@ -15,7 +15,7 @@ if ($ann) {
|
|||||||
fann_set_activation_function_output($ann, FANN_SIGMOID_SYMMETRIC);
|
fann_set_activation_function_output($ann, FANN_SIGMOID_SYMMETRIC);
|
||||||
|
|
||||||
$filename = dirname(__FILE__) . "/xor.data";
|
$filename = dirname(__FILE__) . "/xor.data";
|
||||||
if (fann_train_on_file($ann, $filename, $max_epochs, $epochs_between_reports, $desired_error)) {
|
if (fann_train_on_file($ann, $filename, $max_epochs, $epochs_between_reports, $desired_error))
|
||||||
print('xor trained.<br>' . PHP_EOL);
|
print('xor trained.<br>' . PHP_EOL);
|
||||||
|
|
||||||
if (fann_save($ann, dirname(__FILE__) . "/xor_float.net"))
|
if (fann_save($ann, dirname(__FILE__) . "/xor_float.net"))
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário