powered by
Overlapping Kmeans algorithm.
okm(X, centers, iter.max = 10, nstart = 1, trace = FALSE, method = "euclid")
A data.
A number or matrix, number of cluster for clustering or pre init centers.
the maximum number of iterations allowed.
A number, number of execution to find the best result.
A boolean, tracing information on the progress of the algorithm is produced.
A string ('euclid': Euclidian distance, 'manhattan': Manhattan distance).
# NOT RUN { okm(iris[,-5], 3) # }
Run the code above in your browser using DataLab