(labels, pred_scores)
return regression_metric.ExplainedVariance().compute(labels, pred_scores)
Compute explain variance
        Parameters
        ----------
        labels: value list. The labels of data set.
        pred_scores: value list. The predict results of model. It should be corresponding to labels each data.

        Returns
        ----------
        float
            The explain variance
Compute explain variance
        Parameters
        ----------
        labels: value list. The labels of data set.
        pred_scores: value list. The predict results of model. It should be corresponding to labels each data.
Compute explain variance Parameters ---------- labels : value list . The labels of data set . pred_scores : value list . The predict results of model . It should be corresponding to labels each data .
def explained_variance(labels, pred_scores):
        """
        Compute explain variance
        Parameters
        ----------
        labels: value list. The labels of data set.
        pred_scores: value list. The predict results of model. It should be corresponding to labels each data.

        Returns
        ----------
        float
            The explain variance
        """
        return regression_metric.ExplainedVariance().compute(labels, pred_scores)
def explained_variance ( labels , pred_scores ) : return regression_metric . ExplainedVariance ( ) . compute ( labels , pred_scores )