Description Usage Arguments Value Examples
Core function of nestorFit
1 2 3 4 5 6 7 8 9 10 11 |
MO |
Estimated means from norm_PLN. |
SO |
Estimated marginal vairances from norm_PLN. |
initList |
Result list from initVEM. |
maxIter |
Maximal number of iterations. |
eps |
Convergence precision parameter. |
alpha |
Tempering parameter, default to 0.1. |
verbatim |
Integer controlling verbosity in three levels, starting at 0. |
print.hist |
Prints edges weights histograms at each step if TRUE. |
trackJ |
Computes the lower bound at each parameter update if TRUE. Otherwise, the lower bound is only computed at each new VE step. |
M: estimated means.
S: estimated marginal variances.
Pg: edges probabilities.
Wg: edges variational weights.
W: edges weights.
Omega: matrix filled with precision terms common to all spanning trees.
lowbound: table containing the lowerbound trajectory.
features: table containing the parametes trajectory.
finalIter: number of iterations until convergence was reached.
time: running time of the VEM.
max.prec: boolean for reach of maximal precision reached during the VEM fit.
1 2 3 4 5 6 7 8 9 10 11 12 | data=generate_missing_data(n=100,p=10,r=1,type="scale-free", plot=FALSE)
PLNfit<-norm_PLN(data$Y)
MO<-PLNfit$MO
SO<-PLNfit$SO
sigma_O=PLNfit$sigma_O
#-- initialize with true clique for example
initClique=data$TC
#-- initialize the VEM
initList=initVEM(cliqueList=initClique,sigma_O, MO,r=1 )
#-- run core function nestorFit
fit=nestorFit( MO,SO, initList=initList, maxIter=5,verbatim=1)
str(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.