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

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