Skip to content

Commit

Permalink
Merge pull request #492 from neurodata/fix_rxor
Browse files Browse the repository at this point in the history
Fix rxor
  • Loading branch information
jdey4 authored Sep 19, 2021
2 parents 5d1deae + 14c04b2 commit 47ccefb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
4 changes: 2 additions & 2 deletions docs/experiments/functions/xor_rxor_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def plot_error_and_eff(n1s, n2s, mean_error, mean_te, TASK1, TASK2):
colors = sns.color_palette("Dark2", n_colors=2)

X, Y = generate_gaussian_parity(750, angle_params=0)
Z, W = generate_gaussian_parity(750, angle_params=np.pi / 2)
Z, W = generate_gaussian_parity(750, angle_params=np.pi / 4)

ax = fig.add_subplot(gs[:6, 4:10])
clr = [colors[i] for i in Y]
Expand All @@ -403,7 +403,7 @@ def plot_error_and_eff(n1s, n2s, mean_error, mean_te, TASK1, TASK2):

ax.set_xticks([])
ax.set_yticks([])
ax.set_title("Gaussian RXOR", fontsize=30)
ax.set_title("Gaussian R-XOR", fontsize=30)
ax.axis("off")


Expand Down
30 changes: 11 additions & 19 deletions docs/experiments/xor_rxor_exp.ipynb

Large diffs are not rendered by default.

0 comments on commit 47ccefb

Please sign in to comment.