| Literature DB >> 35990122 |
Bhamidipati Kishore1, Ali Yasar2, Yavuz Selim Taspinar3, Ramazan Kursun4, Ilkay Cinar5, Venkatesh Gauri Shankar6, Murat Koklu5, Isaac Ofori7.
Abstract
Corn has great importance in terms of production in the field of agriculture and animal feed. Obtaining pure corn seeds in corn production is quite significant for seed quality. For this reason, the distinction of corn seeds that have numerous varieties plays an essential role in marketing. This study was conducted with 14,469 images of BT6470, Calipso, Es_Armandi, and Hiva types of corn licensed by BIOTEK. The classification of images was carried out in three stages. At the first stage, deep feature extraction of the four types of corn images was performed with the pretrained CNN model SqueezeNet 1000 deep features were obtained for each image. In the second stage, in order to reduce these features obtained from deep feature extraction with SqueezeNet, separate feature selection processes were performed with the Bat Optimization (BA), Whale Optimization (WOA), and Gray Wolf Optimization (GWO) algorithms among optimization algorithms. Finally, in the last stage, the features obtained from the first and second stages were classified by using the machine learning methods Decision Tree (DT), Naive Bayes (NB), multi-class Support Vector Machine (mSVM), k-Nearest Neighbor (KNN), and Neural Network (NN). In the classification processes of the features obtained in the first stage, the mSVM model has achieved the highest classification success with 89.40%. In the second stage, as a result of the classifications performed through the active features selected by using three types of feature selection algorithms (BA, WOA, GWO), the classification success obtained with the mSVM model was 88.82%, 88.72%, and 88.95%, respectively. The classification accuracies of the tested methods and the classification accuracies obtained in the first stage are close to each other in terms of classification success. However, with the algorithms used in feature selection, successful classification processes have been carried out with fewer features and in a shorter time. The results of the study, in which classification was carried out in the inexpensive, the objective, and the shorter time of processing for the corn types, present a different perspective in terms of classification performance.Entities:
Mesh:
Year: 2022 PMID: 35990122 PMCID: PMC9385333 DOI: 10.1155/2022/2062944
Source DB: PubMed Journal: Comput Intell Neurosci
Classification of some grain products with different artificial intelligence methods.
| No | Crop | Accuracy (%) | Data pieces | Class | Method | References |
|---|---|---|---|---|---|---|
| 1 | Maize | 99.13 | 1632 | 17 | MLDA + LS-SVM | (Xia et al. 2019) |
| 2 | Maize | 93.85 | 12,900 | 3 | RBFNN | (Zhao et al. 2017) |
| 3 | Wheat maize | 99.4 | 804 | 13 | PCA + PLS_DA | (Sendin et al. 2019) |
| 4 | Maize | 95.95 | 656 | 2 | DCNN | (An et al. 2019) |
| 5 | Rice | 93.02 | 3810 | 2 | LR | (Cinar & koklu 2019) |
| 6 | Wheat | 93.46 | 3000 | 2 | ANN | (Kaya & saritas 2019) |
| 7 | Rice | 88.07 | 200 | 3 | CNN | (Ahmed et al. 2020) |
| 8 | Drybean | 93.13 | 13,611 | 7 | SVM | (Koklu & ozkan 2020) |
Figure 1Sample corn seeds of four different types in the dataset.
Figure 2A general convolutional neural network structure.
Figure 3k = 10 cross validation used in the study.
Figure 4Multi-class confusion matrix.
Parameters of the models used in the study.
| Models | Parameters |
|---|---|
| mSVM | Cost (C): 1.00 |
| Regression loss epsilon ( | |
| Regression cost (C): 1.00 | |
| Complexity bound (v): 0.50 g: auto | |
| Numerical tolerance: 0.0010 | |
| Iteration limit: 100 | |
| Function: radial basis kernel | |
|
| |
| BA | Maximum frequency: 2 |
| Minimum frequency: 0 | |
| Constant.alfa: 0.9 | |
| Constant.gamma: 0.9 | |
| Maximum loudness: 2 | |
| Maximum pulse rate: 1 | |
| Number of solutions: 10 | |
| Maximum number of iterations: 100 | |
|
| |
| WOA | Number of agents: 10 |
| Maximum number of iterations: 100 | |
| Maximum frequency: 1 | |
| Minimum frequency: 0 | |
| Problem dimension: same as number of features | |
|
| |
| GWO | Alfa: 0,99 |
| Beta: 0,01 | |
| Tres: 3 | |
| Number of wolves: 10 | |
| Maximum number of iterations: 100 | |
Figure 5General block diagram of the study.
Comparison of classification performances for all model.
| Feature selection method | Number of selected attributes | Classifier | Performance | |||||
|---|---|---|---|---|---|---|---|---|
| ACC | TPR | TNR | PRE | F1-score | MCC | |||
| Deep feature extraction | 1000 | DT | 70.59 | 66.73 | 90.54 | 66.77 | 66.74 | 57.24 |
| NB | 72.15 | 68.35 | 91.05 | 68.71 | 68.40 | 59.52 | ||
|
|
|
|
|
|
|
| ||
| KNN | 79.85 | 76.57 | 93.52 | 76.60 | 76.57 | 70.13 | ||
| NN | 87.96 | 86.01 | 96.15 | 86.01 | 86.01 | 82.16 | ||
|
| ||||||||
| BA | 480 | DT | 70.15 | 66.11 | 90.38 | 65.99 | 66.02 | 56.41 |
| NB | 72.09 | 68.24 | 91.03 | 68.61 | 68.28 | 59.39 | ||
|
|
|
|
|
|
|
| ||
| KNN | 79.87 | 76.58 | 93.53 | 76.65 | 76.57 | 70.16 | ||
| NN | 87.38 | 85.32 | 95.96 | 85.32 | 85.32 | 81.28 | ||
|
| ||||||||
| WOA | 315 | DT | 69.28 | 65.09 | 90.14 | 65.53 | 65.23 | 55.39 |
| NB | 71.66 | 67.86 | 90.89 | 68.18 | 67.90 | 58.84 | ||
|
|
|
|
|
|
|
| ||
| KNN | 79.61 | 76.31 | 93.45 | 76.33 | 76.31 | 69.79 | ||
| NN | 87.26 | 85.16 | 95.92 | 85.20 | 85.18 | 81.10 | ||
|
| ||||||||
| GWO | 384 | DT | 68.85 | 64.75 | 89.99 | 65.02 | 64.82 | 54.81 |
| NB | 72.14 | 68.34 | 91.05 | 68.70 | 68.40 | 59.50 | ||
|
|
|
|
|
|
|
| ||
| KNN | 80.12 | 76.84 | 93.61 | 76.91 | 76.85 | 70.51 | ||
| NN | 87.30 | 85.20 | 95.93 | 85.23 | 85.21 | 81.15 | ||
Performance metrics of mSVM models (%).
| Method | Attributes | ACC | TPR | TNR | PRE | F1-score | MCC | Process time (sec) |
|---|---|---|---|---|---|---|---|---|
| Deep features + mSVM | 1000 | 89.40 | 87.63 | 96.62 | 87.63 | 87.63 | 84.24 | 1604.4 |
| BA + mSVM | 480 | 88.82 | 86.99 | 96.43 | 86.98 | 86.98 | 83.41 | 614.3 |
| WOA + mSVM | 315 | 88.72 | 86.89 | 96.40 | 86.86 | 86.87 | 83.26 | 259.4 |
| GWO + mSVM | 384 | 88.95 | 87.12 | 96.47 | 87.11 | 87.11 | 83.58 | 418.7 |
Figure 6Comparison of mSVM models process time.
Figure 7Confusion matrix of mSVM models.
Figure 8Comparison of mSVM models performance metrics.