Skip to content

Commit

Permalink
Update Triple-couple.py
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliobarl authored Jul 1, 2024
1 parent d83b65b commit 3a73195
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Regression/Triple-couple.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,13 @@ def delta(lista, Data, i): #
D = np.zeros([len(lista), N])
E = np.zeros([len(lista), N])

for run in tqdm.tqdm(range(len(lista))):
for i in tqdm.tqdm(range(len(lista))):

a = 0.6*np.ones(N) # initial guess for first iteration
b = 0.6*np.ones(N)
c = -0.6*np.ones(N)
d = 0.7*np.ones(N)
e = -0.7*np.ones(N)
a = 0.5*np.ones(N) # initial guess for first iteration
b = 0.5*np.ones(N)
c = -0.5*np.ones(N)
d = 0.5*np.ones(N)
e = -0.5*np.ones(N)


for j in range(repeat):
Expand Down Expand Up @@ -383,4 +383,4 @@ def MAIN(beta):
#plt.title(lista[ind])
plt.legend(bbox_to_anchor=(1.05, 1.0), loc='upper left')
plt.ylim(-1,1)
plt.show()
plt.show()

0 comments on commit 3a73195

Please sign in to comment.