powered by
Predict to which Cluster new data belongs
# S3 method for whibo_cluster predict(object, data, ...)
WhiBo Cluster model.
Data for which Cluster should be obtained.
None of those will be used.
Vector of assignments.
# NOT RUN { data <- iris[1:100, 1:4] #Numerical data only and first 100 rows model <- whibo_clustering(data = data, k = 3) predict(object = model, data = iris[101:150, 1:4]) # }
Run the code above in your browser using DataLab