evalml.automl.get_default_primary_search_objective

evalml.automl.get_default_primary_search_objective(problem_type)[source]

Get the default primary search objective for a problem type.

Parameters

problem_type (str or ProblemType) – problem type of interest.

Returns

primary objective instance for the problem type.

Return type

ObjectiveBase