#include "NNetwork.h"
#include "gui_debug.h"
#include <doublefann.h>
#include <ios>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <stdio.h>

gehe zum Quellcode dieser Datei
Funktionen | |
| int FANN_API | print_callback (struct fann *ann, struct fann_train_data *train, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error, unsigned int epochs) |
Variablen | |
| unsigned long int | LAST_EPOCHS = 0 |
| double | LAST_ERROR = 0 |
| int FANN_API print_callback | ( | struct fann * | ann, | |
| struct fann_train_data * | train, | |||
| unsigned int | max_epochs, | |||
| unsigned int | epochs_between_reports, | |||
| float | desired_error, | |||
| unsigned int | epochs | |||
| ) |
Callback Funktion um den Lernfehler auf der Konsole auszugeben
| *ann | ||
| *train | ||
| max_epochs | ||
| epochs_between_reports | ||
| desired_error | ||
| epochs |
Definiert in Zeile 37 der Datei NNetwork.cpp.
Benutzt LAST_EPOCHS und LAST_ERROR.
Wird benutzt von Network::trainNet().
00037 { 00038 cout << "Epochs " << setw(8) << epochs << ". " 00039 << "current error: " << left << fann_get_MSE(ann) << right << endl; 00040 LAST_EPOCHS = epochs; 00041 LAST_ERROR = fann_get_MSE(ann); 00042 return 0; 00043 }

| unsigned long int LAST_EPOCHS = 0 |
Definiert in Zeile 23 der Datei NNetwork.cpp.
Wird benutzt von print_callback() und Network::trainNet().
| double LAST_ERROR = 0 |
Definiert in Zeile 24 der Datei NNetwork.cpp.
Wird benutzt von print_callback() und Network::trainNet().
1.5.5