code: def _default_opt(optimizer):
      if isinstance(optimizer, str):
          if optimizer == "default":
              optimizer = RandomSearchOptimizer()
      return copy.deepcopy(optimizer)
  
imports: import copy
  import multiprocessing
  import pandas
  from typing import Union, List, Dict, Type
  from .optimizers import RandomSearchOptimizer
  from .run_search import run_search
  from .results import Results
  from .print_results import PrintResults
  from .search_space import SearchSpace
label_desc: Use image node_id 3 for calling the Hyperactive obj's underlying member method code with example usage: obj._default_opt(optimizer) and returns: copy