From 3a731959b46851fb63538502d95f65b3b035aca4 Mon Sep 17 00:00:00 2001 From: Giulio Barletta <152606733+giuliobarl@users.noreply.github.com> Date: Mon, 1 Jul 2024 10:42:37 +0200 Subject: [PATCH] Update Triple-couple.py --- Regression/Triple-couple.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Regression/Triple-couple.py b/Regression/Triple-couple.py index 3ed68b3..5d1c0f7 100644 --- a/Regression/Triple-couple.py +++ b/Regression/Triple-couple.py @@ -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): @@ -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() \ No newline at end of file + plt.show()