cluster.fmmstil.parallel.random: Automatic model based clustering via fmmstil in parallel...

Description Usage Arguments Value

View source: R/cluster.fmmstil.parallel.random.R

Description

Automatic model based clustering via fmmstil in parallel using random initial parameters.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
cluster.fmmstil.parallel.random(
  x,
  ncore = 1,
  numTrial.fun,
  criteria = c("ICL", "BIC", "AIC"),
  init.cluster.method,
  init.param.method,
  show.progress = TRUE,
  control = list()
)

Arguments

x

matrix of quantiles of size n x k. Each row is taken as a quantile.

ncore

a positive integer, represents the number of cpu threads to be used in parallel. By default 1.

numTrial.fun

a function of K that returns the number of trials to be evaluated.

criteria

Either 'ICL', 'BIC', or 'AIC'. Represents the type of information criteria used for model selection. By default 'ICL'.

init.cluster.method

a function of x, K that seperates x into K initial clusters.

init.param.method

a function of x, returns initial parameters.

show.progress

a logical value. If TRUE, progress of the algorithm will be printed in console. By default TRUE.

control

list of control variables, it accepts all control arguments used in fit.fmmstil.r and fit.fmmsil.

Value

a list with components:

res

a list containing details of the best fitted distribution.

record

a list of lists containing details all fitted fmmstil.r.


henrylobster/mstil documentation built on Sept. 25, 2020, 3:48 p.m.