cosmetics
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 3 Nov 2017 07:56:34 +0000 (08:56 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 3 Nov 2017 07:56:34 +0000 (08:56 +0100)
14 files changed:
pkg/src/sources/EMGLLF.c
reports/bazar_Emilie/dessinBeta.m [moved from reports/bazar Emilie/dessinBeta.m with 100% similarity]
reports/bazar_Emilie/niveauColores.m [moved from reports/bazar Emilie/niveauColores.m with 100% similarity]
reports/bazar_Emilie/ondelettes.m [moved from reports/bazar Emilie/ondelettes.m with 100% similarity]
reports/bazar_Emilie/ondelettes2.m [moved from reports/bazar Emilie/ondelettes2.m with 100% similarity]
reports/bazar_Emilie/pretraitement.m [moved from reports/bazar Emilie/pretraitement.m with 100% similarity]
reports/bazar_Emilie/recomp.m [moved from reports/bazar Emilie/recomp.m with 100% similarity]
reports/bazar_Emilie/reconstruction.m [moved from reports/bazar Emilie/reconstruction.m with 100% similarity]
reports/bazar_Emilie/resultatSousEns.m [moved from reports/bazar Emilie/resultatSousEns.m with 100% similarity]
reports/bazar_Emilie/sautDeDimension.m [moved from reports/bazar Emilie/sautDeDimension.m with 100% similarity]
reports/bazar_Emilie/script.m [moved from reports/bazar Emilie/script.m with 100% similarity]
reports/bazar_Emilie/scriptEssai.m [moved from reports/bazar Emilie/scriptEssai.m with 100% similarity]
reports/bazar_Emilie/scriptSimules.m [moved from reports/bazar Emilie/scriptSimules.m with 100% similarity]
reports/bazar_Emilie/simulatedData.R [moved from reports/bazar Emilie/simulatedData.R with 100% similarity]

index d9f92c0..e8b3b84 100644 (file)
@@ -16,7 +16,7 @@ void EMGLLF_core(
        Real lambda, // valeur du paramètre de régularisation du Lasso
        const Real* X, // régresseurs
        const Real* Y, // réponse
-       Real tau, // seuil pour accepter la convergence
+       Real eps, // seuil pour accepter la convergence
        // OUT parameters (all pointers, to be modified)
        Real* phi, // parametre de moyenne renormalisé, calculé par l'EM
        Real* rho, // parametre de variance renormalisé, calculé par l'EM
@@ -379,7 +379,7 @@ void EMGLLF_core(
                if (Dist3 > dist2)
                        dist2 = Dist3;
 
-               if (ite >= mini && (dist >= tau || dist2 >= sqrt(tau)))
+               if (ite >= mini && (dist >= eps || dist2 >= sqrt(eps)))
                        break;
        }