(self, X=None)
return result
Scores for each sample in X. The type of scores depends on the operator.

        Parameters
        ----------
        X :
            Features.

        Returns
        -------
        result :
            scores per sample.
Scores for each sample in X. The type of scores depends on the operator.
Scores for each sample in X . The type of scores depends on the operator .
def score_samples(self, X=None):
        """Scores for each sample in X. The type of scores depends on the operator.

        Parameters
        ----------
        X :
            Features.

        Returns
        -------
        result :
            scores per sample.
        """
        X = self._validate_input_schema("X", X, "score_samples")
        raw_result = self._impl_instance().score_samples(X)
        result = self._validate_output_schema(raw_result, "score_samples")
        return result
def score_samples ( self , X = None ) : X = self . _validate_input_schema ( "X" , X , "score_samples" ) raw_result = self . _impl_instance ( ) . score_samples ( X ) result = self . _validate_output_schema ( raw_result , "score_samples" ) return result