evalml.objectives.RegressionObjective

class evalml.objectives.RegressionObjective[source]

Base class for all regression objectives.

problem_types (list(ProblemType)): List of problem types that this objective is defined for.

Set to [ProblemTypes.REGRESSION, ProblemTypes.TIME_SERIES_REGRESSION]

Methods

calculate_percent_difference

Calculate the percent difference between scores.

is_defined_for_problem_type

objective_function

Computes the relative value of the provided predictions compared to the actual labels, according a specified metric

score

Returns a numerical score indicating performance based on the differences between the predicted and actual values.

validate_inputs

Validates the input based on a few simple checks.

Class Inheritance

Inheritance diagram of RegressionObjective