Skip to content
Snippets Groups Projects
Commit 9f5a8422 authored by Kim Albertsson's avatar Kim Albertsson Committed by Axel Naumann
Browse files

[TMVA] CV -- fix weird parenthesis formatting

parent 9ff3b244
No related branches found
No related tags found
No related merge requests found
......@@ -77,11 +77,11 @@ std::pair<std::string, double> runCrossValidation(UInt_t numWorkers)
dataloader->PrepareTrainingAndTestTree("", dataloaderOptions);
// TMVA::CrossValidation takes ownership of dataloader
std::string splitExpr = "UInt_t([EventNumber])%UInt_t([NumFolds]";
std::string splitExpr = "UInt_t([EventNumber])%UInt_t([NumFolds])";
TMVA::CrossValidation cv{Form("%i-proc", numWorkers), dataloader,
Form("!Silent:AnalysisType=Classification"
":NumWorkerProcs=%i:NumFolds=%i"
":SplitExpr=%s)",
":SplitExpr=%s",
numWorkers, NUM_FOLDS, splitExpr.c_str())};
cv.BookMethod(TMVA::Types::kBDT, "BDT", "!H:!V:NTrees=100:MaxDepth=3");
......
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