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))

After Change



    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))
            np.save("r" + names[a] + names[e] + ".npy", np.mean(r, axis=0))

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

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: nilearn/nilearn
Commit Name: 3daedc17ddab948752f3d6b90e56b177ea77ec42
Time: 2014-02-26
Author: virgile.fritsch@gmail.com
File Name: nilearn/mass_univariate/permuted_least_squares.py
Class Name:
Method Name: permuted_ols


Project Name: ClementPinard/SfmLearner-Pytorch
Commit Name: 2a74e12fec206dd222f98cd3ac2a15c48ebdf0a9
Time: 2019-02-18
Author: clement.pinard@parrot.com
File Name: data/prepare_train_data.py
Class Name:
Method Name: main