This function is used to set all the parameters for Co-clustering. It returns
an object of class strategy
which can be given as input
to coclusterBinary
,
coclusterCategorical
, coclusterContingency
,
coclusterContinuous
function.
This class contains all the input parameters to run coclustering.
coclusterStrategy(
algo = "BEM",
initmethod = "emInitStep",
stopcriteria = "Parameter",
nbiterationsxem = 50,
nbiterationsXEM = 500,
nbinitmax = 100,
nbinititerations = 10,
initepsilon = 0.01,
nbiterations_int = 5,
epsilon_int = 0.01,
epsilonxem = 1e-04,
epsilonXEM = 1e-10,
nbtry = 2,
nbxem = 5
)
Object of class strategy
The valid values for this parameter are "BEM" (Default), "BCEM", "BSEM" and "BGibbs" (only for Binary model).
Method to initialize model parameters. The valid values are "cemInitStep", "emInitStep" and "randomInit".
It specifies the stopping criteria. It can be based on either relative change in parameters (preffered due to computation reasons) value or relative change in pseudo log-likelihood. Valid criterion values are "Parameter" and "Likelihood". Default criteria is "Parameter".
Number of EM iterations used during xem step. Default value is 50.
Number of EM iterations used during XEM step. Default value is 500.
Maximal number initialization to try. Default value is 100.
Number of Global iterations used in initialization step. Default value is 10.
Tolerance value used while initialization. Default value is 1e-2.
Number of iterations for internal E step. Default value is 5.
Tolerance value for relative change in Parameter/likelihood for internal E-step. Default value is 1e-2.
Tolerance value used during xem step. Default value is 1e-4.
Tolerance value used during XEM step. Default value is 1e-10
Number of tries (XEM steps). Default value is 2.
Number of xem steps. Default value is 5.
Algorithm to be use for co-clustering.
Stopping criteria used to stop the algorithm.
Method to initialize model parameters.
Maximal number of initialization to try (if reached estimation failed)
Number of global iterations while running initialization.
Tolerance value used while initialization.
Number of iterations for internal E-step.
Tolerance value for internal E-step.
Number of tries.
Number of xem iterations.
Number of EM iterations used during xem.
Number of EM iterations used during XEM.
Tolerance value used during xem.
Tolerance value used during XEM.
#Default strategy values
strategy<-coclusterStrategy()
summary(strategy)
Run the code above in your browser using DataLab