Discriminant Analysis with Adaptively Pooled Covariance