The invention discloses a 
linear discriminant analysis dimension reduction method based on 
cosine similarity weighting. The method comprises steps: 1, a to-be-acquired initial feature F of each sample in a 
data set X is read; 2, based on an LLE 
algorithm, the initial feature F is subjected to initial dimension reduction to acquire a temporary feature F'; 3, sample 
feature data are acquired, and the temporary feature F' serves as an input feature; 4, a mean value m of each sample class and a mean value m of the total samples in the 
data set X are calculated; 5, based on the sample 
feature data, the m and the m, a within-class 
scatter matrix based on 
cosine similarity weighting and a corresponding between-class 
scatter matrix are acquired; 6, an objective function based on the 
cosine similarity weighting is built to carry out further dimension reduction on the sample 
feature data; and 7, according to a projection matrix generated in the step 6, the input feature is mapped to new dimension space. The method has better within-class 
coupling and between-class scatter, and better dimension reduction effects are achieved.