evalml.objectives.PrecisionWeighted.supports_problem_type¶
-
classmethod
PrecisionWeighted.
supports_problem_type
(problem_type)¶ Checks if objective supports given ProblemType
- Parameters
problem_type (str or ProblemType) – problem type to check
- Returns
whether objective supports ProblemType
- Return type
bool