@agramfort Should this be done internally in compute_class_weight? I've done this because `np.bincount` fails for non-positive integers.