DataLoader path for temporary files

Hello,

Is there a way to specify a directory path where TMVA::DataLoader puts temporary files when running these steps?

TMVA::Factory TrainAllMethods();
TMVA::Factory TestAllMethods();
TMVA::Factory EvaluateAllMethods();

At the moment, I specify a path to weight files with this line:

TMVA::gConfig().GetIONames().fWeightFileDir = fWeightsPath;

but then TMVA::DataLoader puts temporary files to this path:

“TMVADataLoader” + fWeightPath.

Is there a way to configure this path to custom path? This would be useful when running many train and evaluation tests on batch system.

Thank you,
Rustem

Hi,

You could create a separate DataLoader for each run, each with a unique name. The outputs would then be separated. I am not currently aware of way to do this by just specifying the path to where to save.

There is this ticket open on the topic.

Cheers,
Kim

Hi Kim,

Thank you for your reply and for the ticket reference.

Indeed, this is exactly the same issue. I see that this ticket has been open since 2017 - any chance that this can be resolved soon? Unfortunately, I do not see a way for me to comment directly in the ticket.

Thank you,
Rustem

Hi,

We are working on it. We have discussed a solution offline and will be implementing it shortly.

Cheers,

Kim

Hi Kim,

This will be great! Thank you for the good news and for your help.

Cheers,
Rustem

Hi Kim,

Just curious if this fix will be implemented soon with a production version?

Thank you,
Rustem

Unfortunately, it seems it did not make it into the next release. Maybe @moneta can confirm?