Agronomy (May 2024)

A Novel Approach for Asparagus Comprehensive Classification Based on TOPSIS Evaluation and SVM Prediction

  • Qiang Chen,
  • Chuang Xia,
  • Yinyan Shi,
  • Xiaochan Wang,
  • Xiaolei Zhang,
  • Ye He

DOI
https://doi.org/10.3390/agronomy14061175
Journal volume & issue
Vol. 14, no. 6
p. 1175

Abstract

Read online

As a common vegetable variety, asparagus is rich in B vitamins, vitamin A, and trace elements such as folate, selenium, iron, manganese, and zinc. With the increasing market demand, China has become the world’s largest cultivated area for asparagus production and product exportation. However, traditional asparagus grading mostly relies on manual visual judgment and needs a lot of manpower input to carry out the classification operation, which cannot meet the needs of large-scale production. To address the high labor cost and labor-intensive production process resulting from the large amount of manpower input and low accuracy of existing asparagus grading devices, this study proposed an improved asparagus grading system and method based on TOPSIS (Technique for Order Preference by Similarity to an Ideal Solution) objective evaluation and SVM (support vector machine) prediction. The key structure of classification device was analyzed first, the key components were designed, and the structural parameters were determined by theoretical calculation. Through analysis of the factors affecting asparagus quality, three key attributes were determined: length, diameter, and bruises, which were used as reference attributes to conduct experimental analysis. Then, the graded control groups were set up, combining the TOPSIS principle with weighting, and a score for each asparagus sample was determined. These scores were compared with those of a graded control group to derive the grade of each asparagus, and these subsets of the dataset were used as the training set and the test set, excluding the error caused by the subjectivity of the manual judgment. Based on a comparison of the accuracies of different machine learning models, the support vector machine (SVM) was determined to be the most accurate, and four SVM methods were used to evaluate the test set: linear SVM, quadratic SVM, cubic SVM, and medium Gaussian SVM. The test results showed that the grading device was feasible for asparagus. The bruises had a large influence on asparagus quality. The training accuracy of the medium Gaussian SVM method was high (96%), whereas its test accuracy was low (86.67%). The training accuracies and test accuracy of the quadratic and cubic SVM methods were 93.34%. The quadratic SVM and cubic SVM were demonstrated to have better generalization ability than the medium Gaussian SVM method for predicting unknown grades of asparagus and meeting the operational requirements of the asparagus grading.

Keywords