Belle II Software development
|
Public Member Functions | |
def | __init__ (self, cut_direction=1, cut_value=np.nan) |
def | cut_direction (self) |
def | cut_value (self) |
def | clone (self) |
def | determine_cut_value (self, estimates, truths) |
def | fit (self, estimates, truths) |
def | predict (self, estimates) |
def | describe (self, estimates, truths) |
Public Attributes | |
cut_direction_ | |
cached copy of the cut direction (< or >) | |
cut_value_ | |
cached copy of the cut threshold | |
Simple classifier cutting on a single variable
Definition at line 496 of file classification.py.
def __init__ | ( | self, | |
cut_direction = 1 , |
|||
cut_value = np.nan |
|||
) |
Constructor
Reimplemented in CutAtBackgroundRejectionClassifier.
Definition at line 500 of file classification.py.
def clone | ( | self | ) |
Return a clone of this object
Definition at line 517 of file classification.py.
def cut_direction | ( | self | ) |
Get the value of the cut direction
Definition at line 508 of file classification.py.
def cut_value | ( | self | ) |
Get the value of the cut threshold
Definition at line 513 of file classification.py.
def describe | ( | self, | |
estimates, | |||
truths | |||
) |
Describe the cut selection and its efficiency, purity and background rejection
Definition at line 542 of file classification.py.
def determine_cut_value | ( | self, | |
estimates, | |||
truths | |||
) |
Get the value of the cut threshold
Reimplemented in CutAtBackgroundRejectionClassifier.
Definition at line 521 of file classification.py.
def fit | ( | self, | |
estimates, | |||
truths | |||
) |
Fit to determine the cut threshold
Definition at line 525 of file classification.py.
def predict | ( | self, | |
estimates | |||
) |
Select estimates that satisfy the cut
Definition at line 530 of file classification.py.
cut_direction_ |
cached copy of the cut direction (< or >)
Definition at line 503 of file classification.py.
cut_value_ |
cached copy of the cut threshold
Definition at line 505 of file classification.py.