2350e18231a67fa9d795fe7a16919b344a4b4ce5,examples/uv/UV_correlations.py,,,#,17

Before Change


    r2 = dc.metrics.pearson_r2_score(y_task, y_other)
    print("r2 for %s-%s is %f" % (task, other_task, r2))
    task_results.append(r2)
  print("Task %d" % task)
  print(task_results)
  all_results.append(task_results)
print("Writing results to uv_corr.csv")
df = pd.DataFrame(all_results)

After Change


n, bins, patches = plt.hist(np.array(all_results), 50, normed=True, stacked=True,
                            facecolor="green", alpha=0.75)
plt.xlabel("Cross-task Correlations")
plt.ylabel("Probability Density")
plt.title("Histogram of UV Intertask Correlations")
plt.grid(True)
plt.savefig("UV_correlations.png")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: deepchem/deepchem
Commit Name: 2350e18231a67fa9d795fe7a16919b344a4b4ce5
Time: 2017-02-05
Author: bharath.ramsundar@gmail.com
File Name: examples/uv/UV_correlations.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 2350e18231a67fa9d795fe7a16919b344a4b4ce5
Time: 2017-02-05
Author: bharath.ramsundar@gmail.com
File Name: examples/factors/FACTORS_correlations.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 2350e18231a67fa9d795fe7a16919b344a4b4ce5
Time: 2017-02-05
Author: bharath.ramsundar@gmail.com
File Name: examples/kinase/KINASE_correlations.py
Class Name:
Method Name:


Project Name: tensorflow/models
Commit Name: a90db800a369032192560bd0fddde5b007340473
Time: 2018-05-07
Author: mironov@gmail.com
File Name: research/differential_privacy/pate/ICLR2018/rdp_flow.py
Class Name:
Method Name: plot_rdp_curve_per_example


Project Name: tensorflow/models
Commit Name: a90db800a369032192560bd0fddde5b007340473
Time: 2018-05-07
Author: mironov@gmail.com
File Name: research/differential_privacy/pate/ICLR2018/rdp_flow.py
Class Name:
Method Name: plot_rdp_total