evalml.problem_types.handle_problem_types

evalml.problem_types.handle_problem_types(problem_type)[source]

Handles problem_type by either returning the ProblemTypes or converting from a str

Parameters

problem_types (str or ProblemTypes) – problem type that needs to be handled

Returns

ProblemTypes