Esempio n. 1
0
def run(gens, env, version):
    """
    Run the pole balancing task using the Gym environment
    Returns the winning genome and the statistics of the run.
    """
    winner, stats = run_es(gens, env, 500, CONFIG, params(version), SUBSTRATE)
    print(f"es_hyperneat_polebalancing_{VERSION_TEXT} done")
    return winner, stats
Esempio n. 2
0
def run(gens, env):
    winner, stats = run_es(gens, env, 200, config, params, sub, max_trials=0)
    print("es_hyperneat_mountain_car_small done")
    return winner, stats
Esempio n. 3
0
def run(gens, env):
    winner, stats = run_es(gens, env, 500, config, params, sub)
    print("es_hyperneat_polebalancing_medium done")
    return winner, stats