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