Ejemplo n.º 1
0
def get_hyperband_tuner(
    matrix: V1Hyperband,
    configs: List[Dict],
    metrics: List[float],
    iteration: int,
    container: V1Container = None,
) -> V1Operation:
    container = container or get_default_tuner_container(
        ["polyaxon", "tuner", "hyperband"])
    return get_tuner(
        name="hyperband-tuner",
        container=container,
        matrix=matrix,
        configs=configs,
        metrics=metrics,
        iteration=iteration,
    )
Ejemplo n.º 2
0
def get_bo_tuner(
    matrix: V1Bayes,
    configs: List[Dict],
    metrics: List[float],
    iteration: int,
    container: V1Container = None,
) -> V1Operation:
    container = container or get_default_tuner_container(
        ["polyaxon", "tuner", "bo"])
    return get_tuner(
        name="bayesian-tuner",
        container=container,
        matrix=matrix,
        configs=configs,
        metrics=metrics,
        iteration=iteration,
    )
Ejemplo n.º 3
0
def get_hyperopt_tuner(
    parallel: V1Hyperopt,
    configs: List[Dict],
    metrics: List[float],
    iteration: int,
    container: V1Container = None,
) -> V1Operation:
    container = container or get_default_tuner_container(
        ["polyaxon", "tuner", "hyperopt"])
    return get_tuner(
        name="hyperopt-tuner",
        container=container,
        parallel=parallel,
        configs=configs,
        metrics=metrics,
        iteration=iteration,
    )