Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelDiai committed Apr 1, 2021
1 parent d0b0f54 commit 8dcefce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion animals.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def animals(k, n_iter, alpha, beta):
plt.title("Learned graph for the animal dataset k=%s n_iter=%s alpha=%.3f beta=%.3f" % (k , n_iter, alpha, beta))
filename = os.path.join(plots_dir, 'animals', 'graph')
fig.savefig(filename)
return G
return graph
2 changes: 1 addition & 1 deletion basic_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def load_dataset_and_sgl(dataset, k, k_sgl, n):
plt.ylabel('y-coordinate')
filename = os.path.join(plots_dir, dataset, 'graph_%s_%s_%s' % (k , k_sgl, n))
fig.savefig(filename)
return G
return graph


def two_moons(n, k_sgl):
Expand Down
2 changes: 1 addition & 1 deletion cancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def Cancer(df_cancer, y_cancer, alpha, beta, k, n_iter):
plt.title("Learned graph for the cancer dataset k=%s n_iter=%s alpha=%.3f beta=%.3f" % (k , n_iter, alpha, beta))
filename = os.path.join(plots_dir, 'cancer', 'graph')
fig.savefig(filename)
return G
return graph

0 comments on commit 8dcefce

Please sign in to comment.