Skip to content

Commit

Permalink
Update fit_bnsl_and_extrapolate__4_digit_addition__dataset_size_x-axi…
Browse files Browse the repository at this point in the history
…s__noiseless_simulation.py
  • Loading branch information
ethancaballero authored Aug 22, 2023
1 parent 415f1b4 commit 326155c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ def bnsl_with_1_break__sle(p, _x, _y):
points = 4096
x_tile = np.array([1.01**i * 10**0 for i in range(points)]).astype(float)

print("a: ", a)
print("b: ", b)
print("c0: ", c0)
print("c1: ", c1)
print("d1: ", d1)
print("f1: ", f1)
print("a =", a)
print("b =", b)
print("c0 =", c0)
print("c1 =", c1)
print("d1 =", d1)
print("f1 =", f1)

pred = bnsl_with_1_break(x_tile.astype(float), a, b, c0, c1, d1, f1)
plt.plot(x_tile, pred, color=[1.0, 0.125, 0.125], linewidth=2.5)
Expand Down

0 comments on commit 326155c

Please sign in to comment.