Belle II Software
release-08-01-10
|
Public Member Functions | |
def | __init__ (self, output_file_name, truth_name=None, select=[], exclude=[], groupbys=[], auxiliaries=[], filters=[]) |
def | train (self, input_tree) |
Public Attributes | |
output_file_name | |
cached output filename | |
truth_name | |
cached truth name | |
select | |
cached selection-specifier array | |
exclude | |
cached exclusion-specifier array | |
groupbys | |
cached groupby-specifier array | |
auxiliaries | |
cached auxiliary-specifier array | |
filters | |
cached filter-specifier array | |
classification_analyses | |
array of classification analyses | |
Class to generate overview plots for the classification power of various variables from a TTree. In order to get an overview, which variables from a diverse set, generated from a recording filter or some other sort of validation, perform well in classification task.
def __init__ | ( | self, | |
output_file_name, | |||
truth_name = None , |
|||
select = [] , |
|||
exclude = [] , |
|||
groupbys = [] , |
|||
auxiliaries = [] , |
|||
filters = [] |
|||
) |
def train | ( | self, | |
input_tree | |||
) |
Main method feed with a TTree containing the truth variable and the variables to be investigated. Branches that contain "truth" in the name are considered to directly contain information about true classification target and are not analysed here. Args: input_tree (ROOT.TTree) : Tree containing the variables to be investigated as well as the classification target. truth_name (str, optional) : Name of the branch of the classification target. If not given the Branch with the shortest name containing "truth" is selected.