2350e18231a67fa9d795fe7a16919b344a4b4ce5,examples/factors/FACTORS_correlations.py,,,#,17

Before Change


  print("Task %d" % task)
  print(task_results)
  all_results.append(task_results)
print("Writing results to factors_corr.csv")
df = pd.DataFrame(all_results)
df.to_csv("factors_corr.csv")

After Change


    all_results.append(r2)

// the histogram of the data
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 Factors Intertask Correlations")
plt.grid(True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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/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: