Self-weighted learning framework for adaptive locality discriminant analysis