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_type (str or ProblemTypes) – Problem type that needs to be handled
- Returns
ProblemTypes