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

Add space and \n to store results in file correctly

parent 2b0dbec9
No related branches found
No related tags found
1 merge request!4Neural network
Pipeline #2322 failed
...@@ -84,10 +84,11 @@ public final class MainDL4J { ...@@ -84,10 +84,11 @@ public final class MainDL4J {
new FileOutputStream("Synthesis_average_AUC.txt", true), new FileOutputStream("Synthesis_average_AUC.txt", true),
StandardCharsets.UTF_8)) { StandardCharsets.UTF_8)) {
writer.write("Neuron number : " + neuron_number writer.write("Neuron number : " + neuron_number
+ "Learning rate : " + learning_rate + " Learning rate : " + learning_rate
+ "Algorithm : " + args[3] + " Algorithm : " + args[3]
+ "Activation function : " + args[4] + " Activation function : " + args[4]
+ "Average AUC = " + (average_auc / fold_number)); + " Average AUC = "
+ (average_auc / fold_number) + "\n");
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
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