การจำแนกประเภทของเห็ดระหว่างเห็ดมีพิษหรือไม่มีพิษ โดยใช้เทคนิคการเรียนรู้ของเครื่อง

Main Article Content

ภิรมย์พร เถี่ยนมิตรภาพ
วราภรณ์ วิยานนท์

บทคัดย่อ

 วิธีการจำแนกเห็ดพิษแบบดั้งเดิมอาจให้ผลไม่แม่นยำและใช้เวลานาน โดยวิธีที่คนนิยมใช้คือพิจารณาจากลักษณะทางกายภาพของเห็ด ซึ่งมีหลายลักษณะ ทำให้เสียเวลาในการพิจารณาได้ ดังนั้นงานวิจัยนี้จึงศึกษาการใช้เทคนิค การเรียนรู้ของเครื่องเพื่อจำแนกเห็ดออกเป็นสองประเภท คือ เห็ดรับประทานได้และเห็ดพิษ จากชุดข้อมูลสาธารณะ
ของเห็ดครีบ จำนวน 8,124 รายการ ในตระกูล Agaricus และ Leiota จำนวน 23 สายพันธุ์ นำมาใช้ในการเรียนรู้ด้วย 5 แบบจำลอง ได้แก่ Logistic regression SVM decision tree random forest และ XGBoost ร่วมกับการใช้เทคนิค การคัดเลือกและดึงข้อมูลสำคัญในการจำแนกชนิดเห็ด ผลลัพธ์พบว่าแบบจำลอง Decision tree ร่วมกับเทคนิค RFE โดยใชชุดข้อมูล 60% และพิจารณาเพียง 3 คุณสมบติ ได้แก่ กลิ่น ขนาดครีบเห็ด และสีรอยพิมพ์สปอร์ ให้ผลลัพธ์ดีที่สุด โดยมีค่า F1 score ถึง 99.32% และนำไปสร้างต้นแบบเว็บแอปพลิเคชันสำหรับการใช้งานต่อไป

Article Details

ประเภทบทความ
Engineering and Architecture

เอกสารอ้างอิง

Sakonrak, B., Duangkae, K., Ayawong, J., Pongpanich, K. and Khemaman, W., 2006, Gilled mushrooms: kaeng krachan forest complex chiang dao wildlife sanctuary and phu khieo wildlife sanctuary, Forest conservation research division forest and plant conservation research office department of national parks, Wildlife and plant conservation, Bangkok, 240 p. (in Thai)

Boonpratuang, T., Choeyklin, R., Promkiam-on, P. and Tiyaphan, P., 2012, The identification of poisonous mushrooms in Thailand during 2008-2012, Thai mushroom 2555, pp. 6-13. (in Thai)

Nooron, N., Parnmen, S., Sikaphan, S., Leudang, S., Uttawichai, C. and Polputpisatkul, D., 2020, The situation of mushrooms food poisoning in Thailand: Symptoms and common species list, Thai J Toxicol. 35(2): 58–69.

Islam, M.D., 2015, Cultivation techniques of edible mushrooms: Agaricus bisporus, Pleurotus spp., Lentinula edodes and Volvariella volvocea, Available source: https://www.researchgate.net/publication/ 275179411_Cultivation_Techniques_of_Edible_Mushrooms_Agaricus_bisporus_Pleurotus_spp_Lentinula_edodes_and_Volvariella_volvocea, Sep 22, 2022.

Verma, S. and Dutta, M., 2018, Mushroom classification using ANN and ANFIS algorithm, (IOSRJEN), 8(1): 26-32.

Chitayae, N. and Sunyoto, A., 2020, Performance comparison of mushroom types classification using k-nearest neighbor method and decision tree method, In 2020 3rd international conference on information and communications technology (ICOIACT), pp. 308-313. IEEE.

Vanitha, V., Ahil, M.N. and Rajathi N., 2020, Classification of mushrooms to detect their edibility based on key attributes, Biosci. Biotech. Res. Asia., 13(11): 37-41.

Schlimmer, J., Mushroom data set, machine learning repository, Available source: https://archive.ics.uci.edu/ml/datasets/Mushroom, Sep 22, 2022.

Agarwal, D., 2021, Introduction to SVM (Support vector machine) along with python code, Data science blogathon, Available source: https://www.analyticsvidhya.com/blog/2021/04/insight-into-svm-support-vector-machine-along-with-code/, Oct 12, 2022.

Saini, A., 2021, Decision tree algorithm – A complete guide, Data science blogathon, Available source: https://www.analyticsvidhya.com/blog/2021/08/decision-tree-algorithm/, Oct 12, 2022

What is a random forest?, TIBCO software inc, Available source: https://www.tibco.com/reference-center/what-is-a-random-forest, Oct 12, 2022.

Mariajesusbigml. Introduction to boosted trees, Available source: https://blog.bigml.com/2017/03/14/ introduction-to-boosted-trees/, Oct 12, 2022.

Brownlee, J., How to choose a feature selection method for machine learning, Machine learning mastery, Available source: https://machinelearningmastery.com/feature-selection-with-real-and-categorical-data/, Oct 12, 2022

Hira, Z.M. and Gillies, D.F., 2015, A review of feature selection and feature extraction methods applied on microarray data, Adv. Bioinform., 2015: 1-13.

Sagrawal, S.K., Metrics to evaluate your classification model to take the right decisions, Analytics vidhya, Available source: https://www.analyticsvidhya.com/blog/2021/07/metrics-to-evaluate-your-classification-model-to-take-the-right-decisions/, Oct 12, 2022.

Streamlit documentation, Streamlit inc, Available source: https://docs.streamlit.io/, Feb 15, 2023.