createAlgo: Create algo object

View source: R/MIXTCOMP_misc.R

createAlgoR Documentation

Create algo object

Description

create an algo object required by mixtCompLearn and mixtCompPredict from RMixtComp.

Usage

createAlgo(
  nbBurnInIter = 50,
  nbIter = 50,
  nbGibbsBurnInIter = 50,
  nbGibbsIter = 50,
  nInitPerClass = 50,
  nSemTry = 20,
  confidenceLevel = 0.95,
  ratioStableCriterion = 0.99,
  nStableCriterion = 20
)

Arguments

nbBurnInIter

Number of iterations of the burn-in part of the SEM algorithm.

nbIter

Number of iterations of the SEM algorithm.

nbGibbsBurnInIter

Number of iterations of the burn-in part of the Gibbs algorithm.

nbGibbsIter

Number of iterations of the Gibbs algorithm.

nInitPerClass

Number of individuals used to initialize each cluster.

nSemTry

Number of try of the algorithm for avoiding an error.

confidenceLevel

confidence level for confidence bounds for parameter estimation

ratioStableCriterion

stability partition required to stop earlier the SEM

nStableCriterion

number of iterations of partition stability to stop earlier the SEM

Value

a list with the parameters values

Author(s)

Quentin Grimonprez

Examples

# default values
algo <- createAlgo()

# change some values
algo <- createAlgo(nbIter = 200)


RMixtCompUtilities documentation built on Sept. 22, 2023, 5:10 p.m.