tclustICsol
An object of class tclusticsol.object
holds information about
the result of a call to tclustICsol
.
The functions print()
and summary()
are used to obtain and print a
summary of the results. An object of class tclusticsol
is a list containing at least the following components:
the matched call
a vector containing the values of k
(number of components) which have been considered.
This vector is identical to the optional argument kk
(default is kk=1:5
.
a vector containing the values of c
(values of the restriction factor) which
have been considered. This vector is identical to the optional argument cc
(defalt is cc=c(1, 2, 4, 8, 16, 32, 64, 128)
.
trimming level
Information criteria used
a matrix of lists of size NumberOfBestSolutions-times-5
which
contains the details of the best solutions for MIXMIX (BIC). Each row refers to a
solution. The information which is stored in the columns is as follows.
1st col = value of k for which solution takes place
2nd col = value of c for which solution takes place;
3rd col = a vector of length d
which contains the values of c
for which the solution is uniformly better.
4th col = a vector of length d + r
which contains the values of c
for which the solution is considered stable (i.e. for which the value
of the adjusted Rand index (or the adjusted Fowlkes and Mallows index)
does not go below the threshold defined in input option ThreshRandIndex
).
5th col = string which contains 'true' or 'spurious'. The solution is labelled spurious if the value of the adjusted Rand index with the previous solutions is greater than ThreshRandIndex.
Remark: the field MIXMIXbs is present only if whichIC=ALL
or whichIC="MIXMIX"
.
a matrix of adjusted Rand indexes (or Fowlkes and Mallows indexes)
associated with the best solutions for MIXMIX. A matrix of size NumberOfBestSolutions-times-NumberOfBestSolutions
whose i,j
-th entry contains the adjusted Rand index between classification produced by solution
i
and solution j
, i,j=1,2, ...,NumberOfBestSolutions
.
Remark: the field MIXMIXbsari
is present only if whichIC=ALL
or whichIC="MIXMIX"
.
a matrix of adjusted Rand indexes between two consecutive value of c
.
Matrix of size k-by-length(cc)-1
. The first column contains the ARI indexes
between cc[2]
and cc[1]
given k
.
The second column contains the the ARI indexes between cc[3]
and cc[2]
given k
.
Remark: the field ARIMIX
is present only if whichIC=ALL
or whichIC="MIXMIX"
or whichIC="MIXCLA"
.
has the same structure as MIXMIXbs
but referres to MIXCLA.
Remark: the field MIXCLAbs is present only if whichIC=ALL
or whichIC="MIXCLA"
.
has the same structure as MIXMIXbsari
but referres to MIXCLA.
Remark: the field MIXMIXbsari
is present only if whichIC=ALL
or whichIC="MIXCLA"
.
has the same structure as MIXMIXbs
but referres to CLACLA.
Remark: the field CLACLAbs is present only if whichIC=ALL
or whichIC="CLACLA"
.
has the same structure as MIXMIXbsari
but referres to CLACLA.
Remark: the field CLACLAbsari
is present only if whichIC=ALL
or whichIC="CLACLA"
.
a matrix of adjusted Rand indexes between two consecutive value of c
.
Matrix of size k-by-length(cc)-1
. The first column contains the ARI indexes
between cc[2]
and cc[1]
given k
.
The second column contains the the ARI indexes between cc[3]
and cc[2]
given k
.
Remark: the field ARICLA
is present only if whichIC=ALL
or whichIC="CLACLA"
.
tclustICsol
, carbikeplot
if (FALSE) {
data(hbk, package="robustbase")
(out <- tclustIC(hbk[, 1:3]))
## Plot first two best solutions using as Information criterion MIXMIX
print("Best solutions using MIXMIX")
outMIXMIX <- tclustICsol(out, whichIC="MIXMIX", plot=TRUE, NumberOfBestSolutions=2)
class(outMIXMIX)
summary(outMIXMIX)
print(outMIXMIX$MIXMIXbs)
}
Run the code above in your browser using DataLab