Commit 44c07464 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Do not print the validation game

This is superfluous.
parent 49654891
......@@ -463,7 +463,6 @@ self_learn (TarotPerceptron * perceptron)
double *weights = NULL, max_weight = 0;
size_t n = 0, w;
double update = tarot_perceptron_learn_game (perceptron, game);
char *xml = tarot_game_save_to_xml_alloc (game);
tarot_perceptron_save_alloc (perceptron, &n, &weights);
setlocale (LC_NUMERIC, "C");
for (w = 0; w < n; w++)
......@@ -490,8 +489,6 @@ self_learn (TarotPerceptron * perceptron)
fprintf (stderr, "%g\t%g\t%g\t%g\n", current_exploration, update,
metric, max_weight);
free (weights);
fprintf (stderr, "%s\n", xml);
free (xml);
}
until_print_game = 100;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment