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