evalml.problem_types.
handle_problem_types
Handles problem_type by either returning the ProblemTypes or converting from a str.
problem_type (str or ProblemTypes) – problem type that needs to be handled
ProblemTypes