code: def get_default_searchspace(problem_type, num_classes=None):
      if problem_type == BINARY:
          return get_searchspace_binary().copy()
      elif problem_type == MULTICLASS:
          return get_searchspace_multiclass(num_classes=num_classes)
      elif problem_type == REGRESSION:
          return get_searchspace_regression().copy()
      elif problem_type == QUANTILE:
          return get_searchspace_quantile().copy()
      else:
          return get_searchspace_binary().copy()
  
imports: from autogluon.common import space
  from autogluon.core.constants import BINARY, MULTICLASS, QUANTILE, REGRESSION
label_desc: Use image node_id 1 for calling a global function with example usage: get_default_searchspace(problem_type, num_classes) and returns: get_searchspace_binary, get_searchspace_multiclass, get_searchspace_regression, get_searchspace_quantile, get_searchspace_binary