def get_class_count(self, other_clname=CLNAME_OTHER):
        """
        Return per-class occurrence count
        
        Keyword argumented:
        other_clname -- a name for an overall negative class (all inactive)
        """
        self.has_other_cl = other_clname is not None and other_clname != ''
        
        if self.l.ndim == 2:
            class_count = np.sum(self.l, axis=0)
            other_count = int(np.sum(class_count) - len(self.l))
        d = {}
        for i, x in enumerate(class_count):
            d[i] = int(x)
        if self.has_other_cl:
            d[other_clname] = other_count
        return d
dataset/ETHPy150Open kashefy/nideep/nideep/datasets/balance.py/Balancer.get_class_count/swapped operands of `-`