utils =================================== .. py:module:: evalml.model_family.utils .. autoapi-nested-parse:: Utility methods for EvalML's model families. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: evalml.model_family.utils.handle_model_family Contents ~~~~~~~~~~~~~~~~~~~ .. py:function:: handle_model_family(model_family) Handles model_family by either returning the ModelFamily or converting from a string. :param model_family: Model type that needs to be handled. :type model_family: str or ModelFamily :returns: ModelFamily :raises KeyError: If input is not a valid model family. :raises ValueError: If input is not a string or ModelFamily object.