R/data_gen3S.R
gen3S.Rd
Generate from Three 5-dimensional Subspaces in 200-dimensional space.
gen3S(n = 50, var = 0.3)
n | the number of data points sampled from each subspace (default: 50). |
---|---|
var | degree of Gaussian noise (default: 0.3). |
a named list containing with :
an \((3*n\times 3)\) data matrix.
length-\(3*n\) vector for class label.
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.
# \donttest{ ## a toy example tester = gen3S(n=100) data = tester$data label = tester$class # }