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

Before Change


    rewardQ1 = Parallel(n_jobs=-1)(
        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)(

After Change


        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: 5

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: D2KLab/entity2rec
Commit Name: 1783757d1d5f62d2398d1f8df2cd71b4c3113b6f
Time: 2018-01-22
Author: enricopalumbo0@gmail.com
File Name: entity2rec/evaluator.py
Class Name: Evaluator
Method Name: features