csvmTransform | R Documentation |
Transform a data matrix according to the kmeans clustering result based on Gu, Quanquan, and Jiawei Han. "Clustered support vector machines."
csvmTransform(x, lambda, cluster.label, sparse = TRUE)
x |
The data matrix, could be a |
lambda |
The parameter from the algorithm |
cluster.label |
The clustering label starting from 1. Its length must equal to the number of rows in |
sparse |
Logical argument indicating whether the output should be a sparse matrix or not |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.