Skip to content
Snippets Groups Projects
Commit 907608d9 authored by siranipour's avatar siranipour
Browse files

Adding comment on datapoint id starting from 0 and going upto N_data post cut

parent 875385a3
No related branches found
No related tags found
1 merge request!920Writing pseudodata to file
......@@ -586,6 +586,9 @@ void TrainValidSplit(NNPDFSettings const& settings,
if (settings.SavePseudodata())
{
// Save the pseudodata if requested in the runcard
// Note that the datapoint index starts with a 0 and
// goes up to the number of datapoints after cuts
// have been applied.
std::ofstream training_file, validation_file;
training_file.open(settings.GetResultsDirectory() + "/nnfit/replica_" + std::to_string(replica) + "/training.dat", std::ios_base::app);
validation_file.open(settings.GetResultsDirectory() + "/nnfit/replica_" + std::to_string(replica) + "/validation.dat", std::ios_base::app);
......
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