code: def optimize(path: str, directory: str):
      """Run a single HPO experiment."""
      from pykeen.hpo import hpo_pipeline_from_path
  
      hpo_pipeline_result = hpo_pipeline_from_path(path)
      hpo_pipeline_result.save_to_directory(directory)
  
imports: import logging
  import os
  import pathlib
  import shutil
  import sys
  import time
  from typing import Iterable, Optional, Union
  from uuid import uuid4
  import click
  import tabulate
  from more_click import verbose_option
  from tqdm.auto import tqdm
  from pykeen.utils import CONFIGURATION_FILE_FORMATS, load_configuration, normalize_path
label_desc: Use image node_id 6 for calling a global function with example usage: optimize(path, directory) without return types