def __init__(self, n_clusters=8, init='Cao', n_init=1, max_iter=100, verbose=0):

        self.n_clusters = n_clusters
        self.init = init
        self.n_init = n_init
        self.verbose = verbose
        if ((isinstance(self.init, str) and self.init == 'Cao') or
                hasattr(self.init, '__array__')) and 1 > self.n_init:
            if self.verbose:
                print("Initialization method and algorithm are deterministic. "
                      "Setting n_init to 1.")
            self.n_init = 1

        self.max_iter = max_iter
dataset/ETHPy150Open nicodv/kmodes/kmodes/kmodes.py/KModes.__init__/swapped operands of `>`