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

Before Change


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

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))
            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: RaRe-Technologies/gensim
Commit Name: 6e5ac39b4247082efdf934e0e03cc234ddcef529
Time: 2010-04-02
Author: piskvorky@92d0401f-a546-4972-9173-107b360ed7e5
File Name: src/gensim/corpora/dmlcorpus.py
Class Name: DmlCorpus
Method Name: loadDictionary


Project Name: RaRe-Technologies/gensim
Commit Name: aaa0d4fcdff881ccbd69d4be0e370ac55b930f10
Time: 2010-04-02
Author: radimrehurek@seznam.cz
File Name: src/gensim/corpora/dmlcorpus.py
Class Name: DmlCorpus
Method Name: loadDictionary