powered by
The function computes the adjusted Rand index (ARI) which allows to compare two clustering partitions.
fem.ari(x,y)
A 'fem' object containing the first partition to compare.
The second partition to compare (as vector).
The value of the ARI.
fem, sfem, plot.fem, summary.fem
# NOT RUN { data(iris) res = fem(iris[,-5],K=3,model='DkBk',method='reg') res plot(res) fem.ari(res,as.numeric(iris[,5])) # }
Run the code above in your browser using DataLab