projects
/
morpheus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add updated files for reporting
[morpheus.git]
/
reports
/
accuracy.R
diff --git
a/reports/accuracy.R
b/reports/accuracy.R
index
d646ae3
..
2f35792
100644
(file)
--- a/
reports/accuracy.R
+++ b/
reports/accuracy.R
@@
-12,7
+12,7
@@
optimBeta <- function(N, n, K, p, beta, b, link, ncores)
fargs$optargs$M <- M
mu <- computeMu(fargs$X, fargs$Y, fargs$optargs)
op <- optimParams(K,link,fargs$optargs)
fargs$optargs$M <- M
mu <- computeMu(fargs$X, fargs$Y, fargs$optargs)
op <- optimParams(K,link,fargs$optargs)
- x_init <-
c( rep(1/K,K-1), as.double(mu), rep(0,K)
)
+ x_init <-
list(p=rep(1/K,K-1), beta=mu, b=rep(0,K)
)
do.call(rbind, op$run(x_init))
},
# flexmix
do.call(rbind, op$run(x_init))
},
# flexmix