evalml.objectives.AUC.supports_problem_type

classmethod AUC.supports_problem_type(problem_type)

Checks if objective supports given ProblemType

Parameters

problem_type (str or ProblemType) – problem type to check

Returns

whether objective supports ProblemType

Return type

bool