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

FIX: Fixed Simulator example

parent 9fd9b7d5
No related branches found
No related tags found
No related merge requests found
......@@ -53,13 +53,13 @@ int main(int argc, char** argv){
// 0.7,
// 600,
// 1000);
l4n::GradientDescent gs(10, 100);
l4n::GradientDescent gs(1e-3, 100);
nn.randomize_weights();
/* Cross - validation */
l4n::CrossValidator cv(&gs, &mse);
cv.run_k_fold_test(1e-3, 100);
cv.run_k_fold_test(3, 10);
/* Save network to the file */
nn.save_text("test_net.4n");
......
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