Belle II Software  release-08-01-10
CutAtBackgroundRejectionClassifier Class Reference
Inheritance diagram for CutAtBackgroundRejectionClassifier:
Collaboration diagram for CutAtBackgroundRejectionClassifier:

Public Member Functions

def __init__ (self, background_rejection=0.5, cut_direction=1)
 
def determine_cut_value (self, estimates, truths)
 
def cut_direction (self)
 
def cut_value (self)
 
def clone (self)
 
def fit (self, estimates, truths)
 
def predict (self, estimates)
 
def describe (self, estimates, truths)
 

Public Attributes

 background_rejection
 cachec copy of the background-rejection threshold
 
 cut_direction_
 cached copy of the cut direction (< or >)
 
 cut_value_
 cached copy of the cut threshold
 

Detailed Description

Apply cut on the background rejection

Definition at line 569 of file classification.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  background_rejection = 0.5,
  cut_direction = 1 
)
Constructor

Reimplemented from CutClassifier.

Definition at line 572 of file classification.py.

Member Function Documentation

◆ clone()

def clone (   self)
inherited
Return a clone of this object

Definition at line 522 of file classification.py.

◆ cut_direction()

def cut_direction (   self)
inherited
Get the value of the cut direction

Definition at line 513 of file classification.py.

◆ cut_value()

def cut_value (   self)
inherited
Get the value of the cut threshold

Definition at line 518 of file classification.py.

◆ describe()

def describe (   self,
  estimates,
  truths 
)
inherited
Describe the cut selection and its efficiency, purity and background rejection

Definition at line 547 of file classification.py.

◆ determine_cut_value()

def determine_cut_value (   self,
  estimates,
  truths 
)
Find the cut value that satisfies the desired background-rejection level

Reimplemented from CutClassifier.

Definition at line 578 of file classification.py.

◆ fit()

def fit (   self,
  estimates,
  truths 
)
inherited
Fit to determine the cut threshold

Definition at line 530 of file classification.py.

◆ predict()

def predict (   self,
  estimates 
)
inherited
Select estimates that satisfy the cut

Definition at line 535 of file classification.py.


The documentation for this class was generated from the following file: