code: def delete_hyperopt_outputs(output_directory: str):
      """Deletes outputs of the hyperopt run that we don't want to save with the artifacts.
  
      Args:
          output_directory: output directory of the hyperopt run.
      """
      for path, currentDirectory, files in os.walk(output_directory):
          for file in files:
              filename = os.path.join(path, file)
              if file not in HYPEROPT_OUTDIR_RETAINED_FILES:
                  os.remove(filename)
  
imports: import asyncio
  import functools
  import logging
  import os
  import shutil
  import uuid
  from concurrent.futures import ThreadPoolExecutor
  from types import ModuleType
  from typing import Any, Dict, List, Tuple, Union
  import fsspec
  import pandas
  import yaml
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.constants import BINARY, CATEGORY
  from ludwig.datasets import model_configs_for_dataset
  from ludwig.datasets.loaders.dataset_loader import DatasetLoader
  from ludwig.globals import CONFIG_YAML
  from ludwig.utils.data_utils import load_yaml
  from ludwig.utils.dataset_utils import get_repeatable_train_val_test_split
  from ludwig.utils.defaults import default_random_seed
  from ludwig.utils.fs_utils import get_fs_and_path
label_desc: Use image node_id 9 for calling a global function with example usage: delete_hyperopt_outputs(output_directory) without return types