def fit(self, X, y, init_weights=True):
        if not (init_weights is None or isinstance(init_weights, bool)):
            raise AttributeError("init_weights must be True, False, or None")
        init_weights
        self._check_arrays(X=X, y=y)
        return self
Learn weight coefficients from training data.
dataset/ETHPy150Open rasbt/mlxtend/mlxtend/classifier/base.py/_BaseClassifier.fit