predict.kmeans: Prediction for kmeans

View source: R/deepML.r

predict.kmeansR Documentation

Prediction for kmeans

Description

Prediction for kmeans

Usage

## S3 method for class 'kmeans'
predict(object, newdata)

Arguments

object

An object from type result of kmeans.

newdata

A vector or matrix with new data to predict labels for.

Value

A vector of predicted labels.

See Also

kmeans.

Other Machine Learning: cross_validation_split(), decision_tree(), k_nearest_neighbors(), moving_average(), naive_bayes(), naive_forecast(), predict.decisiontree(), predict.naivebayes()


stschn/deepANN documentation built on June 25, 2024, 7:27 a.m.