From: Benjamin Auder Date: Tue, 11 Apr 2017 23:00:38 +0000 (+0200) Subject: remove extra prints X-Git-Url: https://git.auder.net/game/%7B%7B%20targetUrl%20%7D%7D?a=commitdiff_plain;h=0e0fb59a6ea0a975d1a9059153aa27f54458bf95;p=valse.git remove extra prints --- diff --git a/pkg/R/constructionModelesLassoMLE.R b/pkg/R/constructionModelesLassoMLE.R index dbae65d..b251135 100644 --- a/pkg/R/constructionModelesLassoMLE.R +++ b/pkg/R/constructionModelesLassoMLE.R @@ -57,7 +57,6 @@ constructionModelesLassoMLE = function(phiInit, rhoInit, piInit, gamInit, mini, for (r in 1:k) { delta = (Y%*%rhoLambda[,,r] - (X[, col.sel]%*%phiLambda[col.sel,,r]))/artefact - print(max(delta)) densite = densite + piLambda[r] * det(rhoLambda[,,r])/(sqrt(2*base::pi))^m * exp(-tcrossprod(delta)/2.0) } diff --git a/pkg/R/main.R b/pkg/R/main.R index 2ae01e6..701a2c9 100644 --- a/pkg/R/main.R +++ b/pkg/R/main.R @@ -123,7 +123,7 @@ valse = function(X, Y, procedure='LassoMLE', selecMod='DDSE', gamma=1, mini=10, data.frame(model=paste(i,".",seq_along(models),sep=""), pen=sumPen/n, complexity=sumPen, contrast=LLH) } ) ) -print(tableauRecap) + modSel = capushe::capushe(tableauRecap, n) indModSel <- if (selecMod == 'DDSE')