Log-Scale Correlation Classifier for Mushroom Identification in Agricultural Internet of Things Systems
DOI:
https://doi.org/10.29207/resti.v10i2.6841Keywords:
agro-IoT, feature correlation, logarithmic transformation, mushroom classification, probabilistic modelingAbstract
Classifying edible and poisonous mushrooms is crucial to food safety, as misidentification can pose severe toxicological risks. Conventional probabilistic classifiers, such as Naïve Bayes and Logistic Regression, often underperform on categorical datasets with correlated attributes and skewed distributions. This study introduces the Log-Scale Feature Correlation Classifier, a novel probabilistic framework that integrates logarithmic transformation and correlation-weighted probability estimation to address these challenges. Using the UCI Mushroom dataset and a 10-fold cross-validation scheme, LSFCC was benchmarked against standard models. The results demonstrate that LSFCC achieved consistently superior accuracy (0.99), precision, and recall, significantly outperforming both Logistic Regression and Naïve Bayes, as confirmed by statistical tests (p<0.01). Its lightweight design and interpretability make it highly suitable for real-time deployment on resource-constrained IoT devices, particularly within Agricultural IoT systems for autonomous mushroom identification. Future research will explore LSFCC’s adaptability to noisy, multimodal data and hybrid architectures, ensuring broader applicability in real-world bioinformatics and food safety domains.
Downloads
References
Md. H. Rahman et al., “IoT Enabled Mushroom Farm Automation With Machine Learning to Classify Toxic Mushrooms in Bangladesh,” Journal of Agriculture and Food Research, vol. 7, p. 100267, 2022, doi: 10.1016/j.jafr.2021.100267.
H. Li et al., “Reviewing the World’s Edible Mushroom Species: A New Evidence‐based Classification System,” Comprehensive Reviews in Food Science and Food Safety, vol. 20, no. 2, pp. 1982–2014, 2021, doi: 10.1111/1541-4337.12708.
P. Tongcham, P. Supa, P. Pornwongthong, and P. Prasitmeeboon, “Mushroom Spawn Quality Classification With Machine Learning,” Computers and Electronics in Agriculture, vol. 179, p. 105865, 2020, doi: 10.1016/j.compag.2020.105865.
R. N. Bashir et al., “Mushroom Species Classification in Natural Habitats Using Convolutional Neural Networks (CNN),” Ieee Access, vol. 12, pp. 176818–176832, 2024, doi: 10.1109/access.2024.3502543.
E. Özbay, F. A. Özbay, and F. S. Gharehchopogh, “Visualization and Classification of Mushroom Species With Multi-Feature Fusion of Metaheuristics-Based Convolutional Neural Network Model,” Applied Soft Computing, vol. 164, p. 111936, 2024, doi: 10.1016/j.asoc.2024.111936.
D. Wagner, D. Heider, and G. Hattab, “Mushroom Data Creation, Curation, and Simulation to Support Classification Tasks,” Scientific Reports, vol. 11, no. 1, 2021, doi: 10.1038/s41598-021-87602-3.
F. Zhu, Y. J. Sun, Y. Zhang, W. Zhang, and J. Qi, “An Improved MobileNetV3 Mushroom Quality Classification Model Using Images With Complex Backgrounds,” Agronomy, vol. 13, no. 12, p. 2924, 2023, doi: 10.3390/agronomy13122924.
K. Gibbons et al., “Prediction of Large-for-Gestational Age Infants in Relation to Hyperglycemia in Pregnancy – A Comparison of Statistical Models,” Diabetes Research and Clinical Practice, vol. 178, p. 108975, 2021, doi: 10.1016/j.diabres.2021.108975.
S. A. Thamrin, D. S. Arsyad, H. Kuswanto, A. Lawi, and S. Nasir, “Predicting Obesity in Adults Using Machine Learning Techniques: An Analysis of Indonesian Basic Health Research 2018,” Frontiers in Nutrition, vol. 8, 2021, doi: 10.3389/fnut.2021.669155.
H. Zhang and L. Jiang, “Fine Tuning Attribute Weighted Naive Bayes,” Neurocomputing, vol. 488, pp. 402–411, 2022, doi: 10.1016/j.neucom.2022.03.020.
M. Gosho, T. Ohigashi, K. Nagashima, Y. Ito, and K. Maruo, “Bias in Odds Ratios From Logistic Regression Methods With Sparse Data Sets,” Journal of Epidemiology, vol. 33, no. 6, pp. 265–275, 2023, doi: 10.2188/jea.je20210089.
M. M. Ahsan, M. A. P. Mahmud, P. Saha, K. D. Gupta, and Z. Siddique, “Effect of Data Scaling Methods on Machine Learning Algorithms and Model Performance,” Technologies, vol. 9, no. 3, p. 52, 2021, doi: 10.3390/technologies9030052.
M. Shantal, Z. Othman, and A. A. Bakar, “A Novel Approach for Data Feature Weighting Using Correlation Coefficients and Min–Max Normalization,” Symmetry, vol. 15, no. 12, p. 2185, 2023, doi: 10.3390/sym15122185.
M. Kumar, K. Bajaj, B. Sharma, and S. K. Narang, “A Comparative Performance Assessment of Optimized Multilevel Ensemble Learning Model With Existing Classifier Models,” Big Data, vol. 10, no. 5, pp. 371–387, 2022, doi: 10.1089/big.2021.0257.
S. S. Prasetiyowati and Y. Sibaroni, “Unlocking the Potential of Naive Bayes for Spatio Temporal Classification: A Novel Approach to Feature Expansion,” Journal of Big Data, vol. 11, no. 1, 2024, doi: 10.1186/s40537-024-00958-x.
T. Ha, D. Lubo-Robles, K. J. Marfurt, and B. C. Wallet, “An in-Depth Analysis of Logarithmic Data Transformation and Per-Class Normalization in Machine Learning: Application to Unsupervised Classification of a Turbidite System in the Canterbury Basin, New Zealand, and Supervised Classification of Salt in the Eugene Island Minibasin, Gulf of Mexico,” Interpretation, vol. 9, no. 3, pp. T685–T710, 2021, doi: 10.1190/int-2021-0008.1.
Md. M. Ali et al., “Machine Learning-Based Statistical Analysis for Early Stage Detection of Cervical Cancer,” Computers in Biology and Medicine, vol. 139, p. 104985, 2021, doi: 10.1016/j.compbiomed.2021.104985.
G. Zeng and S. Tao, “A Generalized Linear Transformation and Its Effects on Logistic Regression,” Mathematics, vol. 11, no. 2, p. 467, 2023, doi: 10.3390/math11020467.
E. Alshdaifat, A.-S. Doaa, A. Alsarhan, F. Hussein, and S. El-Salhi, “The Effect of Preprocessing Techniques, Applied to Numeric Features, on Classification Algorithms’ Performance,” Data, vol. 6, no. 2, p. 11, 2021, doi: 10.3390/data6020011.
F. Pargent, F. Pfisterer, J. Thomas, and B. Bischl, “Regularized Target Encoding Outperforms Traditional Methods in Supervised Machine Learning With High Cardinality Features,” Computational Statistics, vol. 37, no. 5, pp. 2671–2692, 2022, doi: 10.1007/s00180-022-01207-6.
T. Hothorn and A. Zeileis, “Predictive Distribution Modeling Using Transformation Forests,” Journal of Computational and Graphical Statistics, vol. 30, no. 4, pp. 1181–1196, 2021, doi: 10.1080/10618600.2021.1872581.
M. A. Khan, T. Akram, M. Sharif, M. Alhaisoni, T. Saba, and N. Nawaz, “A Probabilistic Segmentation and Entropy-Rank Correlation-Based Feature Selection Approach for the Recognition of Fruit Diseases,” Eurasip Journal on Image and Video Processing, vol. 2021, no. 1, 2021, doi: 10.1186/s13640-021-00558-2.
A. Ahmad, S. Akbar, M. Tahir, M. Hayat, and F. Ali, “iAFPs-EnC-GA: Identifying Antifungal Peptides Using Sequential and Evolutionary Descriptors Based Multi-Information Fusion and Ensemble Learning Approach,” Chemometrics and Intelligent Laboratory Systems, vol. 222, p. 104516, 2022, doi: 10.1016/j.chemolab.2022.104516.
O. R. Olaniran and M. A. A. Abdullah, “Bayesian Weighted Random Forest for Classification of High-Dimensional Genomics Data,” Kuwait Journal of Science, vol. 50, no. 4, pp. 477–484, 2023, doi: 10.1016/j.kjs.2023.06.008.
L. Mervin, M. Trapotsi, A. M. Afzal, I. P. Barrett, A. Bender, and O. Engkvist, “Probabilistic Random Forest Improves Bioactivity Predictions Close to the Classification Threshold by Taking Into Account Experimental Uncertainty,” Journal of Cheminformatics, vol. 13, no. 1, 2021, doi: 10.1186/s13321-021-00539-7.
A. S. Walker and J. Clardy, “A Machine Learning Bioinformatics Method to Predict Biological Activity From Biosynthetic Gene Clusters,” Journal of Chemical Information and Modeling, vol. 61, no. 6, pp. 2560–2571, 2021, doi: 10.1021/acs.jcim.0c01304.
S. Ibrahim, S. Nazir, and S. A. Velastín, “Feature Selection Using Correlation Analysis and Principal Component Analysis for Accurate Breast Cancer Diagnosis,” Journal of Imaging, vol. 7, no. 11, p. 225, 2021, doi: 10.3390/jimaging7110225.
L. B. V. de Amorim, G. D. C. Cavalcanti, and R. M. O. Cruz, “Meta-Scaler: A Meta-Learning Framework for the Selection of Scaling Techniques,” IEEE Transactions on Neural Networks and Learning Systems, vol. 36, no. 3, pp. 4805–4819, Mar. 2025, doi: 10.1109/TNNLS.2024.3366615.
M. K. Dahouda and I. Joe, “A Deep-Learned Embedding Technique for Categorical Features Encoding,” IEEE Access, vol. 9, pp. 114381–114391, 2021, doi: 10.1109/ACCESS.2021.3104357.
M. Greenacre, M. Martínez-Álvaro, and A. Blasco, “Compositional Data Analysis of Microbiome and Any-Omics Datasets: A Validation of the Additive Logratio Transformation,” Frontiers in Microbiology, vol. 12, 2021, doi: 10.3389/fmicb.2021.727398.
A. Vega, Z. Othman, S. Suhana, K. Baharin, A. Suraji, and A. L. Maukar, “Application of the Synthetic Over-Sampling Method to Increase the Sensitivity of Algorithm Classification for Class Imbalance in Small Spatial Datasets,” International Journal of Intelligent Engineering and Systems, vol. 15, no. 5, pp. 676–690, 2022, doi: 10.22266/ijies2022.1031.58.
A. Prommakhot and J. Srinonchat, “Combining Convolutional Neural Networks for Fungi Classification,” IEEE Access, vol. 12, pp. 58021–58030, 2024, doi: 10.1109/ACCESS.2024.3391630.
Y. Zhang, H. Jiang, T. Ye, and M. Juhas, “Deep Learning for Imaging and Detection of Microorganisms,” Trends in Microbiology, vol. 29, no. 7, pp. 569–572, 2021, doi: 10.1016/j.tim.2021.01.006.
D. Mandair, J. S. Reis‐Filho, and A. Ashworth, “Biological Insights and Novel Biomarker Discovery Through Deep Learning Approaches in Breast Cancer Histopathology,” NPJ Breast Cancer, vol. 9, no. 1, 2023, doi: 10.1038/s41523-023-00518-1.
M. L. Borowiec, R. B. Dikow, P. B. Frandsen, A. J. McKeeken, G. Valentini, and A. E. White, “Deep Learning as a Tool for Ecology and Evolution,” Methods in Ecology and Evolution, vol. 13, no. 8, pp. 1640–1660, 2022, doi: 10.1111/2041-210x.13901.
C. M. de Melo, A. Torralba, L. Guibas, J. J. DiCarlo, R. Chellappa, and J. K. Hodgins, “Next-Generation Deep Learning Based on Simulators and Synthetic Data,” Trends in Cognitive Sciences, vol. 26, no. 2, pp. 174–187, 2022, doi: 10.1016/j.tics.2021.11.008.
S. R. Stahlschmidt, B. Ulfenborg, and J. Synnergren, “Multimodal Deep Learning for Biomedical Data Fusion: A Review,” Briefings in Bioinformatics, vol. 23, no. 2, 2022, doi: 10.1093/bib/bbab569.
H. Yuan, Z. Wang, Z. Wang, F. Zhang, D. Guan, and R. Zhao, “Trends in Forensic Microbiology: From Classical Methods to Deep Learning,” Frontiers in Microbiology, vol. 14, 2023, doi: 10.3389/fmicb.2023.1163741.
Downloads
Published
Issue
Section
License
Copyright in each article belongs to the author
- The author acknowledges that the RESTI Journal (System Engineering and Information Technology) is the first publisher to publish with a license Creative Commons Attribution 4.0 International License.
- Authors can enter writing separately, arrange the non-exclusive distribution of manuscripts that have been published in this journal into other versions (eg sent to the author's institutional repository, publication in a book, etc.), by acknowledging that the manuscript has been published for the first time in the RESTI (Rekayasa Sistem dan Teknologi Informasi) journal ;





