class_docstr: The base class for hyperparameter optimization (HPO) interfaces to generate algos in the Auto3Dseg pipeline.
  The auto-generated algos are saved at their ``output_path`` on the disk. The files in the ``output_path``
  may contain scripts that define the algo, configuration files, and pickle files that save the internal states
  of the algo before/after the training. Compared to the BundleGen class, HPOGen generates Algo on-the-fly, so
  training and algo generation may be executed alternatively and take a long time to finish the generation process.
docstr: Interface for launch the training given the fetched hyperparameters.
docstr_tok: ["Interface","for","launch","the","training","given","the","fetched","hyperparameters","."]
code: def run_algo(self, *args, **kwargs):
      """Interface for launch the training given the fetched hyperparameters."""
      raise NotImplementedError
  
imports: from __future__ import annotations
  import os
  from abc import abstractmethod
  from copy import deepcopy
  from typing import Any, cast
  from warnings import warn
  from monai.apps.auto3dseg.bundle_gen import BundleAlgo
  from monai.apps.utils import get_logger
  from monai.auto3dseg import Algo, AlgoGen, algo_from_pickle, algo_to_pickle
  from monai.bundle.config_parser import ConfigParser
  from monai.config import PathLike
  from monai.utils import optional_import
  from monai.utils.enums import AlgoKeys
label_desc: Use image node_id 4 for calling the HPOGen obj's underlying member method code with example usage: obj.run_algo() without return types