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

Before Change



    // Compute confidence intervals of the experiments
    ci = [wilson_score(q, n) for q in results]
    ax = plt.subplot()
    if param_logscale:
        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


    if param_logscale:
        plt.xscale("log", nonposx="clip")
    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:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: PIQuIL/QuCumber
Commit Name: f0a81e2d218aa41b538de5e5cfebcc149f758dc5
Time: 2018-07-20
Author: gtorlai@uwaterloo.ca
File Name: examples/rbm_tutorial.py
Class Name: BinomialRBM
Method Name: fit


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