powered by
The function MKMeans return object of class MKMean that contains the number of clusters, the center of each cluster, and the observations in each cluster.
new("MKMean",K=new("numeric"),Centers=new("matrix"),Classes=new("list"),Clusters=new("list"))
K
An integer being the number of clusters.
Centers
A numeric matrix with each row being center of a cluster.
Classes
An integer list showing the original indexes of the observations in each cluster.
Clusters
A numeric list showing the observations in each cluster.
Yarong Yang
Yarong Yang, Nader Ebrahimi, Yoram Rubin, and Jacob Zhang.(2025) MKMeans: A Modern K-Means Clustering Algorithm. technical report
showClass("MKMean")
Run the code above in your browser using DataLab