Skip to content
Snippets Groups Projects
Commit 6a4d06f1 authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Replaced print_stats() methods with write_stats().

parent ab233435
No related branches found
No related tags found
No related merge requests found
......@@ -1139,6 +1139,5 @@ namespace lib4neuro {
this->analyze_layer_structure();
}
}
......@@ -124,7 +124,7 @@ int main() {
/* SAVE NETWORK TO THE FILE */
std::cout << "********************************************************************************************************************************************" <<std::endl;
std::cout << "Network generated by the example" << std::endl;
net.print_stats();
net.write_stats();
net.save_text("saved_network.4nt");
std::cout << "--------------------------------------------------------------------------------------------------------------------------------------------" <<std::endl;
double error = 0.0;
......@@ -142,7 +142,7 @@ int main() {
std::cout << "Network loaded from a file" << std::endl;
l4n::NeuralNetwork net2("saved_network.4nt");
net2.print_stats();
net2.write_stats();
std::cout << "--------------------------------------------------------------------------------------------------------------------------------------------" <<std::endl;
error = 0.0;
inp = {0, 1};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment