2350e18231a67fa9d795fe7a16919b344a4b4ce5,examples/uv/UV_correlations.py,,,#,17
Before Change
for other_task in range(n_tasks):
if task == other_task:
task_results.append(1.)
continue
y_other = y_train[:, other_task]
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)
After Change
plt.ylabel("Probability Density")
plt.title("Histogram of UV Intertask Correlations")
plt.grid(True)
plt.savefig("UV_correlations.png")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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/kinase/KINASE_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: