An improved KNN method is presented in this paper. Features are selected by the principle of surface smoothing and according to the target value distribution situation of the points found by traditional KNN metho d. This improved KNN method is based on target value, it can avoid the influence of subjective classification compared to the traditional KNN method based on classification.