JsMVA
Functions
JsMVA.DataLoader Namespace Reference

DataLoader module with the functions to be inserted to TMVA::DataLoader class and helper functions. More...

Functions

def GetInputVariableHist (dl, className, variableName, numBin, processTrfs="")
 Creates the input variable histogram and perform the transformations if necessary. More...
 
def DrawCorrelationMatrix (dl, className)
 Draw correlation matrix This function uses the TMVA::DataLoader::GetCorrelationMatrix function added newly to root. More...
 
def DrawInputVariable (dl, variableName, numBin=100, processTrfs=[])
 Draw input variables This function uses the previously defined GetInputVariableHist function to create the histograms. More...
 
def ChangeCallOriginalPrepareTrainingAndTestTree (args, kwargs)
 Rewrite TMVA::DataLoader::PrepareTrainingAndTestTree. More...
 

Detailed Description

DataLoader module with the functions to be inserted to TMVA::DataLoader class and helper functions.

Authors
Attila Bagoly batti.nosp@m.la93.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Function Documentation

def JsMVA.DataLoader.ChangeCallOriginalPrepareTrainingAndTestTree (   args,
  kwargs 
)

Rewrite TMVA::DataLoader::PrepareTrainingAndTestTree.

Definition at line 100 of file DataLoader.py.

def JsMVA.DataLoader.DrawCorrelationMatrix (   dl,
  className 
)

Draw correlation matrix This function uses the TMVA::DataLoader::GetCorrelationMatrix function added newly to root.

Parameters
dlthe object pointer
classNameSignal/Background

Definition at line 69 of file DataLoader.py.

def JsMVA.DataLoader.DrawInputVariable (   dl,
  variableName,
  numBin = 100,
  processTrfs = [] 
)

Draw input variables This function uses the previously defined GetInputVariableHist function to create the histograms.

Parameters
dlThe object pointer
variableNamestring containing the variable name
numBinfor creating the histogram
processTrfslist of transformations to be used on input variable; eg. ["I", "N", "D", "P", "U", "G"]"

Definition at line 86 of file DataLoader.py.

def JsMVA.DataLoader.GetInputVariableHist (   dl,
  className,
  variableName,
  numBin,
  processTrfs = "" 
)

Creates the input variable histogram and perform the transformations if necessary.

Parameters
dlDataLoader object
classNamestring Signal/Background
variableNamestring containing the variable name
numBinfor creating the histogram
processTrfsstring containing the list of transformations to be used on input variable; eg. "I;N;D;P;U;G,D"

Definition at line 17 of file DataLoader.py.