(self, X, y, **score_params)
return self._predict_based_on_type("score", "score", X, y)
Performance evaluation with a default metric based on the final estimator.

        Parameters
        ----------
        X :
            Features.
        y:
            Ground truth labels.
        score_params:
            Any additional parameters expected by the score function of
            the final estimator. These will be ignored for now.
        Returns
        -------
        score :
            Performance metric value.
Performance evaluation with a default metric based on the final estimator.
Performance evaluation with a default metric based on the final estimator .
def score(self, X, y, **score_params):
        """Performance evaluation with a default metric based on the final estimator.

        Parameters
        ----------
        X :
            Features.
        y:
            Ground truth labels.
        score_params:
            Any additional parameters expected by the score function of
            the final estimator. These will be ignored for now.
        Returns
        -------
        score :
            Performance metric value.
        """
        return self._predict_based_on_type("score", "score", X, y)
def score ( self , X , y , * * score_params ) : return self . _predict_based_on_type ( "score" , "score" , X , y )