Skip to content
Snippets Groups Projects
Commit f2b47eba authored by a.croix's avatar a.croix
Browse files

Some corrections to finish cross validation

parent 917f3f7c
No related branches found
No related tags found
1 merge request!3K fold
......@@ -64,10 +64,10 @@ public final class Example {
Trainer trainer = new Trainer(parameters, new SolutionDistance(5));
long start_time = System.currentTimeMillis();
//AbstractSolution solution = trainer.run(
// "./ressources/webshell_data.json",
// "./ressources/webshell_expected.json");
//System.out.println(solution);
AbstractSolution solution = trainer.run(
"./ressources/webshell_data.json",
"./ressources/webshell_expected.json");
System.out.println(solution);
long end_time = System.currentTimeMillis();
logger.log(Level.INFO, "Execution time : "
+ (end_time - start_time) / 1000 + " seconds");
......@@ -79,8 +79,8 @@ public final class Example {
10);
for (int i = 0; i < solutions.size(); i++) {
System.out.println(solutions.get(i));
System.out.println("AUC Value for fold" + i + solutions);
System.out.println("AUC Value for fold " + i + ": "
+ solutions.get(i));
}
}
......
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