bwcontrol {HiddenMarkov}R Documentation

Control Parameters for the Baum Welch Algorithm

Description

Creates a list of parameters that control the operation of BaumWelch.

Usage

bwcontrol(maxiter = 500, tol = 1e-05, prt = TRUE, posdiff = TRUE,
          converge = expression(diff < tol))

Arguments

maxiter is the maximum number of iterations, default is 500.
tol is the convergence criterion, default is 0.00001.
prt is logical, and determines whether information is printed at each iteration; default is TRUE.
posdiff is logical, and determines whether the iterative process stops if a negative log-likelihood difference occurs, default is TRUE.
converge is an expression giving the convergence criterion. The default is the difference between successive values of the log-likelihood.

Examples

#    Increase the maximum number of iterations to 1000.
#    All other components will retain their default values.
a <- bwcontrol(maxiter=1000)
print(a)

[Package HiddenMarkov version 1.2-7 Index]