powered by
Ratio of within and between cluster tropical measures for k-means derived clusters
cluster.ratio_KM(A, C, method = mean)
vector of ratios for each cluster
matrix of tropical points; rows are points
number of clusters
method to use for within cluster measure; mean or max
David Barnhill david.barnhill@nps.edu
David Barnhill, Ruriko Yoshida (2023). Clustering Methods Over the Tropically Convex Sets.
hars<-Sim_points cls<-c(rep(1,50),rep(2,50),rep(3,50)) cl_pt<-cbind(hars,cls) C<-3 cluster.ratio_KM(cl_pt,C,method=mean)
Run the code above in your browser using DataLab