Description Usage Arguments Details Value Author(s) References Examples
kmeans example for using MLPACK with R.
1 | mlKmeans(X, y)
|
X |
data matrix. |
y |
number of clusters. |
This is a kmeans example using RcppMLPACK. It uses the Kmeans method in MLPACK and integrates with R.
mlKmeans
returns a list with cluster assignment:
For RcppMLPACK: Qiang Kou
For MLPACK: Ryan Curtin
MLPACK project: http://www.mlpack.org/
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.