Xiaoning Bai, Jingdun Jia, Qiwen Wei, Shuaiqi Huang, Weicheng Du, Wanlin Gao. Association rule mining algorithm based on Spark for pesticide transaction data analyses[J]. International Journal of Agricultural and Biological Engineering, 2019, 12(5): 162-166. DOI: 10.25165/j.ijabe.20191205.4881
Citation: Xiaoning Bai, Jingdun Jia, Qiwen Wei, Shuaiqi Huang, Weicheng Du, Wanlin Gao. Association rule mining algorithm based on Spark for pesticide transaction data analyses[J]. International Journal of Agricultural and Biological Engineering, 2019, 12(5): 162-166. DOI: 10.25165/j.ijabe.20191205.4881

Association rule mining algorithm based on Spark for pesticide transaction data analyses

  • With the development of smart agriculture, the accumulation of data in the field of pesticide regulation has a certain scale. The pesticide transaction data collected by the Pesticide National Data Center alone produces more than 10 million records daily. However, due to the backward technical means, the existing pesticide supervision data lack deep mining and usage. The Apriori algorithm is one of the classic algorithms in association rule mining, but it needs to traverse the transaction database multiple times, which will cause an extra IO burden. Spark is an emerging big data parallel computing framework with advantages such as memory computing and flexible distributed data sets. Compared with the Hadoop MapReduce computing framework, IO performance was greatly improved. Therefore, this paper proposed an improved Apriori algorithm based on Spark framework, ICAMA. The MapReduce process was used to support the candidate set and then to generate the candidate set. After experimental comparison, when the data volume exceeds 250 Mb, the performance of Spark-based Apriori algorithm was 20% higher than that of the traditional Hadoop-based Apriori algorithm, and with the increase of data volume, the performance improvement was more obvious.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return