csvmTransform: Data Transformation function for Clustered Support Vector...

View source: R/clusterSVM.R

csvmTransformR Documentation

Data Transformation function for Clustered Support Vector Machine

Description

Transform a data matrix according to the kmeans clustering result based on Gu, Quanquan, and Jiawei Han. "Clustered support vector machines."

Usage

csvmTransform(x, lambda, cluster.label, sparse = TRUE)

Arguments

x

The data matrix, could be a matrix or dgCMatrix object.

lambda

The parameter from the algorithm

cluster.label

The clustering label starting from 1. Its length must equal to the number of rows in x

sparse

Logical argument indicating whether the output should be a sparse matrix or not


SwarmSVM documentation built on Dec. 28, 2022, 1:24 a.m.