evalml.problem_types.handle_problem_types¶
-
class
evalml.problem_types.
handle_problem_types
[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