code: def load_yaml(filename):
      """Load a yaml file.
  
      Args:
          filename (str): Filename.
  
      Returns:
          dict: Dictionary.
      """
      try:
          with open(filename, "r") as f:
              config = yaml.load(f, yaml.SafeLoader)
          return config
      except FileNotFoundError:  # for file not found
          raise
      except Exception:  # for other exceptions
          raise IOError("load {0} error!".format(filename))
  
imports: import os
  from sklearn.metrics import roc_auc_score, log_loss, mean_squared_error, accuracy_score, f1_score
  import numpy
  import yaml
  import zipfile
  import pickle
  from recommenders.datasets.download_utils import maybe_download
label_desc: Use image node_id 4 for calling a global function with example usage: load_yaml(filename) and returns: config