Esempio n. 1
0
def run(gens, env):
    """
    Run the pole balancing task using the Gym environment
    Returns the winning genome and the statistics of the run.
    """
    winner, stats = run_hyper(gens, env, 500, CONFIG, SUBSTRATE, ACTIVATIONS)
    print("hyperneat_polebalancing done")
    return winner, stats
Esempio n. 2
0
def run(gens, env):
    winner, stats = run_hyper(gens,
                              env,
                              200,
                              config,
                              sub,
                              activations,
                              max_trials=0)
    print("hyperneat_mountain_car done")
    return winner, stats
Esempio n. 3
0
def run(gens, env):
    winner, stats = run_hyper(gens, env, 500, config, sub, activations)
    print("hyperneat_polebalancing done")
    return winner, stats