Skip to content

Commit

Permalink
remove calculation of correlation matrix for large number of variables
Browse files Browse the repository at this point in the history
  • Loading branch information
moneta authored and lmoneta committed Nov 2, 2018
1 parent 08f8781 commit 68cdebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmva/tmva/src/DataSetFactory.cxx
Expand Up @@ -128,7 +128,7 @@ TMVA::DataSet* TMVA::DataSetFactory::CreateDataSet( TMVA::DataSetInfo& dsi,
// build the first dataset from the data input
DataSet * ds = BuildInitialDataSet( dsi, dataInput );

if (ds->GetNEvents() > 1) {
if (ds->GetNEvents() > 1 && dsi.GetNVariables() < 10) {
CalcMinMax(ds,dsi);

// from the the final dataset build the correlation matrix
Expand Down

0 comments on commit 68cdebc

Please sign in to comment.