Generates a random projection according to Haar measure or a uniform distribution on axis-aligned projections.
Usage
RPGenerate(p = 100, d = 10, method = "Haar")
Arguments
p
The original data dimension
d
The lower dimension
method
Projection distribution: either "Haar" for Haar distributed projections, "axis" for uniformly distributed axis-aligned projections, or "other" for user defined method
Value
Returns a p by d random matrix
References
Cannings, T. I. and Samworth, R. J. (2015) Random projection ensemble classification.
http://arxiv.org/abs/1504.04595