Last data update: 2014.03.03
|
R: orthogonal kmeans prediction function
orthoKMeansPredict | R Documentation |
orthogonal kmeans prediction function
Description
orthogonal kmeans prediction function
Usage
orthoKMeansPredict(x, obj = NULL, verbose = FALSE)
Arguments
x |
data to assign clusters
|
obj |
an object returned by orthoKMeansTrain
|
verbose |
show verbose messages?
|
Value
a matrix with as many colums as rounds trained
Examples
obj = yakmoR::orthoKMeansTrain (x = as.matrix(iris[seq(1,150,2),1:4]),
k = 3, rounds = 3)
predictions = yakmoR::orthoKMeansPredict (x = as.matrix(iris[seq(2, 150, 2),1:4]),
obj = obj)
Results
|