Agricultural data classification attracts more and more attention in the research area of intelligent agriculture. As a kind of important machine learning methods, ensemble learning uses multiple base classifiers to deal with classification problems. The rough set theory is a powerful mathematical approach to process unclear and uncertain data. In this paper, a rough set based ensemble learning algorithm is proposed to classify the agricultural data effectively and efficiently. An experimental comparison of different algorithms is conducted on four agricultural datasets. The results of experiment indicate that the proposed algorithm improves performance obviously.
For breaking the limitation of the GIS platform and realizing the soil nutrients spatial interpolation algorithm for any points in the monitoring area to transplant to the mobile platforms, this paper established the spatial index of the soil nutrient sampling points utilizing the K-D Tree as the space splitting algorithm of the soil nutrient sampling points. On this basis, the K nearest neighbor search of the soil nutrient sampling points was also implemented employing KNN algorithm. Finally, the soil nutrient spatial interpolation was realized based on KNN and IDW algorithm. Meanwhile, the accuracy of the algorithm and the influence to the different soil nutrient elements affected by the K value in KNN algorithm were also verified. The results show that the soil nutrient spatial interpolation algorithm was viable to predict the element contents of soil nutrient during the running time was less than 3 s. To reach the best accuracy, the values of the proximal point K for predicting the PH, organic matter, rapid available phosphorus and rapid available potassium should be set as 85, 15, the largest sample space and 65 respectively. The optimal average absolute error of the pH, organic matter, rapid available phosphorus and rapid available potassium was 0.0405, 0.3870, 0.0015 respectively.