def METHOD_NAME(cls, data) -> Type[Serializable]:
    """Return the subtype."""
    return {
        "CrossValidationEvaluator": CrossValidationEvaluator,
        "HoldoutSetEvaluator": HoldoutSetEvaluator
    }[data["type"]]