6f94fa1869893f6ee66476a0e3be80e6dda18511,plot_scores.py,,main,#,7

Before Change


    scores = pd.read_csv(args.scores, delimiter="\t")
    for col in ["mean", "median"]:
        plt.plot(scores["steps"], scores[col], label=col)
    plt.title("A3C Breakout")
    plt.xlabel("steps")
    plt.ylabel("score")
    plt.legend(loc="best")
    // plt.show()

After Change


    scores = pd.read_csv(args.scores, delimiter="\t")
    for col in ["mean", "median"]:
        plt.plot(scores["steps"], scores[col], label=col)
    if args.title is not None:
        plt.title(args.title)
    plt.xlabel("steps")
    plt.ylabel("score")
    plt.legend(loc="best")
    fig_fname = args.scores + ".png"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: chainer/chainerrl
Commit Name: 6f94fa1869893f6ee66476a0e3be80e6dda18511
Time: 2016-05-20
Author: muupan@gmail.com
File Name: plot_scores.py
Class Name:
Method Name: main


Project Name: michaelhush/M-LOOP
Commit Name: 6c7bfd2b47e7ca714e6bd0229f251d602e55b97e
Time: 2020-08-25
Author: zakven@mit.edu
File Name: mloop/visualizations.py
Class Name: GaussianProcessVisualizer
Method Name: plot_hyperparameters_vs_run


Project Name: dmnfarrell/pandastable
Commit Name: d7e73c02d00f55ea0760f785beddc00d020838ab
Time: 2019-04-25
Author: farrell.damien@gmail.com
File Name: pandastable/plugins/batchprocess.py
Class Name: BatchProcessPlugin
Method Name: main