def predict(self, X, y=None):
        self._check_is_fitted()
        X = _check_X(X, None, self.means_.shape[1])
        return self._estimate_weighted_log_prob(X).argmax(axis=1)
Handle one request.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/mixture/base.py/BaseMixture.predict--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/vmruntime/meta_app.py/MetaWSGIApp.__call__