From dd8f9169cb8809baae8cbb8b27d05cd372002591 Mon Sep 17 00:00:00 2001
From: DIANE Abderrahim <abderrahim.diane@cefe.cnrs.fr>
Date: Tue, 4 Feb 2025 12:56:17 +0100
Subject: [PATCH] Edit 2-model_creation.py

---
 src/pages/2-model_creation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pages/2-model_creation.py b/src/pages/2-model_creation.py
index 27e74ab..c0d731b 100644
--- a/src/pages/2-model_creation.py
+++ b/src/pages/2-model_creation.py
@@ -370,7 +370,7 @@ if not x_block.empty and not y.empty:
                 
                 case 'LW-PLS':
                     from utils.regress import LWPLS
-                    Model = LWPLS(train = [X_train, y_train], test = [X_test, y_test], n_iter = 10, cv = nb_folds, bestglobalparams = pre.best_hyperparams_)
+                    Model = LWPLS(train = [X_train, y_train], test = [X_test, y_test], n_iter = 30, cv = nb_folds, bestglobalparams = pre.best_hyperparams_)
                     Model.best_fit()
                 
                 # The snippet of code below was first used to communicate with Julia for developing lwplsr() LWPLS modelling, but just lately, lwplsr() xas written in Python and utilized instead.
-- 
GitLab