Generate from Three 5-dimensional Subspaces in 200-dimensional space.

gen3S(n = 50, var = 0.3)

Arguments

n

the number of data points sampled from each subspace (default: 50).

var

degree of Gaussian noise (default: 0.3).

Value

a named list containing with :

data

an \((3*n\times 3)\) data matrix.

class

length-\(3*n\) vector for class label.

References

Wang S, Yuan X, Yao T, Yan S, Shen J (2011). “Efficient Subspace Segmentation via Quadratic Programming.” In Proceedings of the Twenty-Fifth AAAI Conference on Artificial Intelligence, AAAI'11, 519--524.

Examples

# \donttest{ ## a toy example tester = gen3S(n=100) data = tester$data label = tester$class # }