a802d31210ed262b8159b656b256bdacf10c9d61,bindsnet/analysis/plotting.py,,plot_performance,#,398

Before Change



    for scheme in performances:
        ax.plot(
            [n * x_scale for n in range(len(performances[scheme]))],
            [p for p in performances[scheme]],
            label=scheme,
        )

After Change



        ax.set_ylim([0, 100])
        ax.set_title("Estimated classification accuracy")
        ax.set_xlabel("No. of examples")
        ax.set_ylabel("Accuracy")
        ax.set_xticks(())
        ax.set_yticks(range(0, 110, 10))
        ax.legend()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: BindsNET/bindsnet
Commit Name: a802d31210ed262b8159b656b256bdacf10c9d61
Time: 2020-05-11
Author: hananel@hazan.org.il
File Name: bindsnet/analysis/plotting.py
Class Name:
Method Name: plot_performance


Project Name: david-abel/simple_rl
Commit Name: b2c5bd43ea3f2294e0ddc0e1e71bdbf37adb8a60
Time: 2019-01-27
Author: yrevar@github.com
File Name: simple_rl/tasks/navigation/NavigationWorldMDP.py
Class Name: NavigationWorldMDP
Method Name: visualize_grid


Project Name: sepandhaghighi/pycm
Commit Name: 2118f87a1d95e673ac0994989a5464480ce2ffe1
Time: 2020-09-30
Author: sabouri.sadra@gmail.com
File Name: pycm/pycm_obj.py
Class Name: ConfusionMatrix
Method Name: plot