89333926ae6c0dbc56c97bab30812ac461fdc7fa,snntoolbox/simulation/plotting.py,,plot_param_sweep,#Any#Any#Any#Any#Any#,783

Before Change


        ax.set_xscale("log", nonposx="clip")
    ax.errorbar(params, results, yerr=ci, fmt="x-")
    ax.set_title("Accuracy vs Hyperparameter")
    ax.set_xlabel(param_name)
    ax.set_ylabel("accuracy")
    fac = 0.9
    if params[0] < 0:
        fac += 0.2
    ax.set_xlim(fac * params[0], 1.1 * params[-1])

After Change


    plt.errorbar(params, results, yerr=ci, fmt="x-")
    plt.title("Accuracy vs Hyperparameter")
    plt.xlabel(param_name)
    plt.ylabel("accuracy")
    fac = 0.9
    if params[0] < 0:
        fac += 0.2
    plt.xlim(fac * params[0], 1.1 * params[-1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 89333926ae6c0dbc56c97bab30812ac461fdc7fa
Time: 2019-07-11
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/plotting.py
Class Name:
Method Name: plot_param_sweep


Project Name: matplotlib/matplotlib
Commit Name: f2e2aa02df60786f53f080cf58bf11698b67fc6c
Time: 2017-05-30
Author: dstansby@gmail.com
File Name: examples/text_labels_and_annotations/tex_demo.py
Class Name:
Method Name:


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 069378b414de5ff95cd0f5bd4024e82f03862832
Time: 2019-04-22
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/plotting.py
Class Name:
Method Name: plot_param_sweep