10337c8271537f0761486f9bf051ccffb5cb1838,examples/td.py,,experiment,#,9

Before Change


    //from keras.callbacks import EarlyStopping
    //config["algorithm"]["params"]["fit_params"]["callbacks"] =\
    //    [EarlyStopping("loss", patience=20, min_delta=1e-4)]
    alg = get_algorithm(config["algorithm"]["name"],
                        agent,
                        mdp,
                        **config["algorithm"]["params"])

After Change


    agent = FQI(approximator, pi, **agent_params)

    // Algorithm
    core = Core(agent, mdp)

    // Train
    core.learn(n_iterations=1, how_many=1000, n_fit_steps=20,
               iterate_over="episodes")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 10337c8271537f0761486f9bf051ccffb5cb1838
Time: 2017-05-30
Author: carlo.deramo@gmail.com
File Name: examples/td.py
Class Name:
Method Name: experiment


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


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