def fit(self, X, y, sample_weight=None):
        X, y = check_X_y(X, y)
        return self._partial_fit(X, y, np.unique(y), _refit=True,
                                 sample_weight=sample_weight)
Perform a Yelp Phone API Search based on phone number given.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/naive_bayes.py/GaussianNB.fit--crossover with--dataset/ETHPy150Open adamhadani/python-yelp/yelp/api.py/PhoneApi.by_phone