High-dimensional learning from random projections of data through regularization and diversification