X-Git-Url: https://git.auder.net/?p=morpheus.git;a=blobdiff_plain;f=reports%2Faccuracy.R;fp=reports%2Faccuracy.R;h=9a9d21d10b445e4c1e2d9d8250d96c08058c1909;hp=24191d84dc25b8c22d52c355c3a20dcd0bf5c2cc;hb=5af71d43f3f2dba21c6667939fcff88923af3b7b;hpb=8de2abd4af307b0470c22f87ce99885e2c341c4e diff --git a/reports/accuracy.R b/reports/accuracy.R index 24191d8..9a9d21d 100644 --- a/reports/accuracy.R +++ b/reports/accuracy.R @@ -10,7 +10,7 @@ optimBeta <- function(N, n, p, beta, b, link, ncores) K <- ncol(fargs$beta) M <- computeMoments(fargs$X, fargs$Y) mu <- computeMu(fargs$X, fargs$Y, list(K=K, M=M)) - op <- optimParams(fargs$X, fargs$Y, K, fargs$link, M) + op <- optimParams(fargs$X, fargs$Y, K, fargs$link, M, 1) #only 1 OpenMP core x_init <- list(p=rep(1/K,K-1), beta=mu, b=rep(0,K)) res2 <- NULL tryCatch({