Against the first defect of the classic KNN algorithm, because the prices for agricultural products have the characteristics of time sequence, when to predict the price of agricultural products, the role of the attribute value showed a trend of increase, meaning that its weight is increasing, the corresponding attribute value increasing, and this relationship is not linear increase, the binomial function with similar characteristics.
1
—
—