intelligence.zenith_tune.tuners.command_runtime
CommandRuntimeTuner Objects
class CommandRuntimeTuner(FunctionRuntimeTuner)
A tuner for executing runtime commands.
__init__
def __init__(output_dir: str = "outputs",
study_name: Optional[str] = None,
db_path: Optional[str] = None,
sampler: Optional[BaseSampler] = None,
pruner: Optional[BasePruner] = None,
auto_pruners: Optional[List[AutoPrunerBase]] = None,
maximize: bool = False) -> None
Initialize the CommandRuntimeTuner.
Arguments:
output_dirstr - The directory to store the study results. Defaults to "outputs".study_namestr - The name of the study. Defaults to None.db_pathOptional[str] - The path to the database file. Defaults to None.samplerOptional[BaseSampler] - The sampler to use. Defaults to None.prunerOptional[BasePruner] - The pruner to use. Defaults to None.auto_prunersOptional[List[AutoPrunerBase]] - List of auto pruners to monitor during execution. Defaults to None.maximizebool - Whether to maximize the objective function. Defaults to False.