Learn R Programming

RMixtCompUtilities (version 4.1.6)

createAlgo: 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
)

Value

a list with the parameters values

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

Author

Quentin Grimonprez

Examples

Run this code
# default values
algo <- createAlgo()

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

Run the code above in your browser using DataLab