Mushroom Poisonous Prediction Based on the Logistic Regression Model

Authors

  • Jian Sun

DOI:

https://doi.org/10.54097/hset.v57i.9997

Keywords:

Mushroom Poisonous, Machine Learning, Logistic Regression.

Abstract

Mushroom poisoning is a critical food safety issue that poses a significant threat to public health. In China alone, in 2022, there were 1332 reported cases of mushroom poisoning, leading to 28 deaths. With the existence of numerous toxic mushroom species that can cause fatal consequences, it is crucial to develop a reliable model for predicting mushroom toxicity. In this study, a logistic regression model was developed using a dataset consisting of over 60,000 records with 20 different variables. The model was constructed using the Python programming language and the Scikit-learn package. Logistic regression is a binary classification algorithm that uses a sigmoid function to transform its results into probability values. It relies on relationships between variables to predict a value and subsequently converts it to either a positive or negative outcome, corresponding to two classes. The results of this study indicated that the developed model achieved 100% prediction accuracy with the use of 2000 or more records in the dataset. Therefore, the proposed logistic regression model presents a promising tool for accurately predicting mushroom toxicity and mitigating the risks associated with mushroom poisoning. Further research could focus on expanding the dataset to include additional variables, such as environmental and geographical factors, to improve the model's accuracy and applicability.

Downloads

Download data is not yet available.

References

Diaz J H. Evolving global epidemiology, syndromic classification, general management, and prevention of unknown mushroom poisonings. Crit Care Med, 2005, 33(2): 419-426.

Schenk-Jaeger KM, Rauber-Lüthy C, Bodmer M, et al. Mushroom poisoning: A study on circumstances of exposure and patterns of toxicity. Eur J Intern Med, 2012, 23(4): e85-e91. DOI: 10.1016/j.ejim.2012.03.014

Brandenburg WE, Ward KJ. Mushroom poisoning epidemiology in the United States. Mycologia, 2018, 110(4): 637-641. DOI:10.1080/00275514.2018.1479561

De Olano J, Wang JJ, Villeneuve E, Gosselin S, Biary R, Su MK, et al. Current fatality rate of suspected cyclopeptide mushroom poisoning in the United States. Clinical Toxicology. 2020, 1–4.

Soltaninejad K. Outbreak of mushroom poisoning in Iran. April–May 2018 The international journal of occupational and environmental medicine. 2018, 9(3):152.

Kagglg, https://www.kaggle.com/datasets/devzohaib/mushroom-edibility-classification, 2022.

OneHotEncoder in sklearn.preprocessing, https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html, 2023.

LaValley M P. Logistic regression. Circulation, 2008, 117(18): 2395-2399.

Yu Q, Yang Y, Lin Z, et al. Improved denoising autoencoder for maritime image denoising and semantic segmentation of USV. China Communications, 2020, 17(3): 46-57.

Xie L, Wisse L E M, Wang J, et al. Deep label fusion: A generalizable hybrid multi-atlas and deep convolutional neural network for medical image segmentation. Medical Image Analysis, 2023, 83: 102683.

Downloads

Published

11-07-2023