Tensor-based projection using ridge regression and its application to action classification