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

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