R/fun.R

Defines functions mlKmeans

Documented in mlKmeans

mlKmeans <- function(X, y) {

    X <- as.matrix(X)
    y <- as.numeric(y)

    .Call( "RcppMLPACK_kmeans", X, y, PACKAGE = "RcppMLPACK" )

}

Try the RcppMLPACK package in your browser

Any scripts or data that you put into this service are public.

RcppMLPACK documentation built on April 21, 2020, 9:05 a.m.