Compute Rand indices for fitted scregclust object
get_rand_indices(fit, groundtruth, adjusted = TRUE)
A data.frame
containing the Rand indices. Since there can
be more than one final configuration for some penalization
parameters, Rand indices are averaged for each fixed penalization
parameter. Returned are the mean, standard deviation and number
of final configurations that were averaged.
An object of class scregclust
A known clustering of the target genes (integer vector)
If TRUE, the Adjusted Rand index is computed. Otherwise the ordinary Rand index is computed.
W. M. Rand (1971). "Objective criteria for the evaluation of clustering methods". Journal of the American Statistical Association 66 (336): 846–850. DOI:10.2307/2284239
Lawrence Hubert and Phipps Arabie (1985). "Comparing partitions". Journal of Classification. 2 (1): 193–218. DOI:10.1007/BF01908075