(self, n_classes=2, **kwargs)
docstring
docstring
docstring
def __init__(self, n_classes=2, **kwargs):
        "docstring"
        super().__init__(**kwargs)
        self.n_classes = n_classes

        if self.events is None:
            log.warning("Choosing from all possible events")
        else:
            assert n_classes <= len(self.events), "More classes than events specified"
def __init__ ( self , n_classes = 2 , * * kwargs ) : super ( ) . __init__ ( * * kwargs ) self . n_classes = n_classes if self . events is None : log . warning ( "Choosing from all possible events" ) else : assert n_classes <= len ( self . events ) , "More classes than events specified"