6efe8ce53b30db7dd08dd727b23d6acb11796a8a,examples/grid_world.py,,,#,54

Before Change


        delayed(experiment)(QLearning, 1) for _ in xrange(n_experiment))
    rewardQ08 = Parallel(n_jobs=-1)(
        delayed(experiment)(QLearning, .8) for _ in xrange(n_experiment))
    rewardDQ1 = Parallel(n_jobs=-1)(
        delayed(experiment)(DoubleQLearning, 1) for _ in xrange(n_experiment))
    rewardDQ08 = Parallel(n_jobs=-1)(
        delayed(experiment)(DoubleQLearning, .8) for _ in xrange(n_experiment))

    np.save("rQ1.npy", np.mean(rewardQ1, axis=0))
    np.save("rQ08.npy", np.mean(rewardQ08, axis=0))
    np.save("rDQ1.npy", np.mean(rewardDQ1, axis=0))
    np.save("rDQ08.npy", np.mean(rewardDQ08, axis=0))

After Change



    logger.Logger(3)

    names = {1:"1", 0.8:"08", QLearning:"Q", DoubleQLearning:"DQ"}
    for e in [1, .8]:
        for a in [QLearning, DoubleQLearning]:
            r = Parallel(n_jobs=-1)(
                delayed(experiment)(a, e) for _ in xrange(n_experiment))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 6efe8ce53b30db7dd08dd727b23d6acb11796a8a
Time: 2017-06-06
Author: samuele.tosatto@gmail.com
File Name: examples/grid_world.py
Class Name:
Method Name:


Project Name: Scitator/catalyst
Commit Name: 8ef3f88cfe38c9178ec53cca4025eeacbe230741
Time: 2019-09-20
Author: scitator@gmail.com
File Name: catalyst/rl/core/sampler.py
Class Name: ValidSampler
Method Name: _run_sample_loop


Project Name: scikit-learn-contrib/DESlib
Commit Name: 873a906cb76f0c6988d6547078103b67b73a7262
Time: 2018-04-02
Author: rafaelmenelau@gmail.com
File Name: deslib/des/des_knn.py
Class Name: DESKNN
Method Name: estimate_competence