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 19, 2023
1 parent dba4b42 commit 2b9ade4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def bnsl_with_1_break__sle(p, _x, _y):
p_grid = (slice(0.0, 2.5, .1), slice(0, 5, .25), slice(0, .2, 0.05), slice(0, 8, 0.5), slice(0, 35, 2.5), slice(0, .2, 0.05))

start = time.time()
res = scipy.optimize.brute(bnsl_with_1_break__msle_optim, p_grid, args=(x1, y1), full_output=False, finish=None, workers=-1)
res = scipy.optimize.brute(bnsl_with_1_break__msle_optim, p_grid, args=(x1, y1), full_output=False, finish=None, Ns=1, workers=-1)
a, b, c0, c1, d1, f1 = res
b = 1.25**b - 1 + 1e-8
d1 = 1.25**d1 - 1 + 1e-8
Expand Down

0 comments on commit 2b9ade4

Please sign in to comment.