seqHMM-deprecated | R Documentation |
These functions are provided for compatibility with older version of the seqHMM package. They will be eventually completely removed.
fit_hmm(
model,
em_step = TRUE,
global_step = FALSE,
local_step = FALSE,
control_em = list(),
control_global = list(),
control_local = list(),
lb,
ub,
threads = 1,
log_space = FALSE,
...
)
fit_mhmm(
model,
em_step = TRUE,
global_step = FALSE,
local_step = FALSE,
control_em = list(),
control_global = list(),
control_local = list(),
lb,
ub,
threads = 1,
log_space = FALSE,
...
)
trim_hmm(
model,
maxit = 0,
return_loglik = FALSE,
zerotol = 1e-08,
verbose = TRUE,
...
)
model |
An object of class |
em_step |
Logical. Whether or not to use the EM algorithm at the start
of the parameter estimation. The default is |
global_step |
Logical. Whether or not to use global optimization via
|
local_step |
Logical. Whether or not to use local optimization via
|
control_em |
Optional list of control parameters for the EM algorithm. Possible arguments are
|
control_global |
Optional list of additional arguments for
|
control_local |
Optional list of additional arguments for
|
lb, ub |
Lower and upper bounds for parameters in Softmax parameterization.
The default interval is |
threads |
Number of threads to use in parallel computing. The default is 1. |
log_space |
Make computations using log-space instead of scaling for greater
numerical stability at a cost of decreased computational performance. The default is |
... |
Additional arguments to |
maxit |
Number of iterations. After zeroing small values, the model is
refitted, and this is repeated until there is nothing to trim or |
return_loglik |
Return the log-likelihood of the trimmed model together with
the model object. The default is |
zerotol |
Values smaller than this are trimmed to zero. |
verbose |
Print results of trimming. The default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.