![]() |
Belle II Software
release-08-02-04
|
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 501 of file classification.py.
| def __init__ | ( | self, | |
cut_direction = 1, |
|||
cut_value = np.nan |
|||
| ) |
Constructor
Reimplemented in CutAtBackgroundRejectionClassifier.
Definition at line 505 of file classification.py.
| def clone | ( | self | ) |
Return a clone of this object
Definition at line 522 of file classification.py.
| def cut_direction | ( | self | ) |
Get the value of the cut direction
Definition at line 513 of file classification.py.
| def cut_value | ( | self | ) |
Get the value of the cut threshold
Definition at line 518 of file classification.py.
| def describe | ( | self, | |
| estimates, | |||
| truths | |||
| ) |
Describe the cut selection and its efficiency, purity and background rejection
Definition at line 547 of file classification.py.
| def determine_cut_value | ( | self, | |
| estimates, | |||
| truths | |||
| ) |
Get the value of the cut threshold
Reimplemented in CutAtBackgroundRejectionClassifier.
Definition at line 526 of file classification.py.
| def fit | ( | self, | |
| estimates, | |||
| truths | |||
| ) |
Fit to determine the cut threshold
Definition at line 530 of file classification.py.
| def predict | ( | self, | |
| estimates | |||
| ) |
Select estimates that satisfy the cut
Definition at line 535 of file classification.py.