| predict.kmeans | R Documentation |
Prediction for kmeans
## S3 method for class 'kmeans'
predict(object, newdata)
object |
An object from type result of kmeans. |
newdata |
A vector or matrix with new data to predict labels for. |
A vector of predicted labels.
kmeans.
Other Machine Learning:
cross_validation_split(),
decision_tree(),
k_nearest_neighbors(),
moving_average(),
naive_bayes(),
naive_forecast(),
predict.decisiontree(),
predict.naivebayes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.