752f17f65ff851521b00f699e32f45e14945f069,tests/algorithms/test_td.py,,test_sarsa_lambda_continuous,#,141

Before Change


                      mdp_continuous.info.observation_space.high[0], 10)
    s_2 = np.linspace(mdp_continuous.info.observation_space.low[1],
                      mdp_continuous.info.observation_space.high[1], 10)
    for i in s_1:
        for j in s_2:
            alg._update(np.array([i, j]), np.array([1]), 100, np.array([0, 0]),
                        0)

    test_w = np.array([[0, 0, 0, 0],
                       [320.43, 399.8616, 340.397, 417.218],
                       [0, 0, 0, 0]])

After Change


    core = Core(agent, mdp_continuous)

    // Train
    core.learn(n_steps=100, n_steps_per_fit=1, quiet=True)

    test_w = np.array([-16.38428419, 0., -14.31250136, 0., -15.68571525, 0.,
                       -10.15663821, 0., -15.0545445, 0., -8.3683605, 0.])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 752f17f65ff851521b00f699e32f45e14945f069
Time: 2019-11-12
Author: carlo.deramo@gmail.com
File Name: tests/algorithms/test_td.py
Class Name:
Method Name: test_sarsa_lambda_continuous


Project Name: biolab/orange3
Commit Name: 6812b98f8592260b91e9e00dbe59c9ff736f5e16
Time: 2015-05-15
Author: tankovesna@hotmail.com
File Name: Orange/classification/simple_random_forest.py
Class Name: SimpleRandomForestModel
Method Name: __init__


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 752f17f65ff851521b00f699e32f45e14945f069
Time: 2019-11-12
Author: carlo.deramo@gmail.com
File Name: tests/algorithms/test_td.py
Class Name:
Method Name: test_true_online_sarsa_lambda