flexclustControl-class {flexclust}R Documentation

Classes "flexclustControl" and "cclustControl"

Description

Hyperparameters for cluster algorithms.

Objects from the Class

Objects can be created by calls of the form new("flexclustControl", ...). In addition, named lists can be coerced to flexclustControl objects, names are completed if unique (see examples).

Slots

Objects of class flexclustControl have the following slots:

iter.max:
Maximum number of iterations.
tolerance:
The algorithm is stopped when the (relative) change of the optimization criterium is smaller than tolerance.
verbose:
If a positive integer, then progress is reported every verbose iterations. If 0, no output is generated during model fitting.
classify:
Character string, one of "auto", "weighted", "hard" or "simann".
gamma:
Gamma value for weighted hard competitve learning.
simann:
Parameters for simulated annealing optimization (only used when classify="simann").
ntry:
Number of trials per iteration for QT clustering.
min.size:
Clusters smaller than this value are treated as outliers.

Objects of class cclustControl inherit from flexclustControl and have the following additional slots:

method:
Learning rate for hard competitive learning, one of "polynomial" or "exponential".
pol.rate:
Positive number for polynomial learning rate of form 1/iter^par.
exp.rate
normal-bracket63bracket-normal
Vector of length 2 with paramters for exponential learning rate of form Vector of length 2 with paramters for exponential learning rate of form par1*(par2/par1)^(iter/iter.max).
ng.rate:
Vector of length 3 with parameters for neural gas.

Author(s)

Friedrich Leisch

See Also

kcca, cclust

Examples

## have a look at the defaults
new("flexclustControl")

## corce a list
mycont = list(iter=500, tol=0.001, class="w")
as(mycont, "flexclustControl")

## some additional slots
as(mycont, "cclustControl")

[Package flexclust version 0.7-0 Index]