An Empirical Bayes Approach for High Dimensional Classification