A weighted principal component analysis and three new weight functions are presented in this paper.By means of experiments with five weight functions,we study the affect of weighted linear discriminant analysis and weighted principal component analysis on the classification results for multi-classification problems.