evalml.objectives.R2¶
-
class
evalml.objectives.
R2
[source]¶ Coefficient of determination for regression.
-
name
= 'R2'¶
-
greater_is_better
= True¶
-
perfect_score
= 1¶
-
positive_only
= False¶
-
problem_types
= [<ProblemTypes.REGRESSION: 'regression'>, <ProblemTypes.TIME_SERIES_REGRESSION: 'time series regression'>]¶
-
score_needs_proba
= False¶
Methods
Initialize self.
Calculate the percent difference between scores.
Computes the relative value of the provided predictions compared to the actual labels, according a specified metric
Returns a numerical score indicating performance based on the differences between the predicted and actual values.
Validates the input based on a few simple checks.
-
Class Inheritance¶
