(self, X, y, **score_params)
.. deprecated:: 0.0.0
           The `score` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `score`
           on the trained operator returned by `fit` instead.
.. deprecated:: 0.0.0
           The `score` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `score`
           on the trained operator returned by `fit` instead.
.. deprecated :: 0 . 0 . 0 The score method is deprecated on a trainable operator because the learned coefficients could be accidentally overwritten by retraining . Call score on the trained operator returned by fit instead .
def score(self, X, y, **score_params):
        """
        .. deprecated:: 0.0.0
           The `score` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `score`
           on the trained operator returned by `fit` instead.

        """
        warnings.warn(_mutation_warning("score"), DeprecationWarning)
        try:
            return self._trained.score(X, y, **score_params)
        except AttributeError:
            raise ValueError("Must call `fit` before `score`.")
def score ( self , X , y , * * score_params ) : warnings . warn ( _mutation_warning ( "score" ) , DeprecationWarning ) try : return self . _trained . score ( X , y , * * score_params ) except AttributeError : raise ValueError ( "Must call `fit` before `score`." )