Classification of Poisonous and Edible Mushrooms with Optimized Classification Algorithms
Abstract views: 133 / PDF downloads: 294
DOI:
https://doi.org/10.59287/icaens.1030Keywords:
Random Forest, Decision Tree, GridSearchCV, Logistic Regression, MushroomsAbstract
Within the scope of this study, it is aimed to classify the mushroom species consumed as a staple food. For this purpose, 8124 mushroom data with 22 different mushroom feature information were used. 5686 of these data were used for training and 2438 for testing. In the study, poisonous and edible mushroom species were classified by random forest, decision tree, and logistic regression classification methods. The parameters used in the random forest and decision tree classification algorithms used in the study were optimized with the GridSearchCV optimization method. With the random forest algorithm, the highest precision, recall, and F1 score values are 0.93, 0.98, and 0.95, respectively. When these values are examined on a class basis, the highest distinctiveness results were obtained in the poisonous class. In the edible class, the highest performance results were measured as 0.97, 0.92, and 0.95 for precision, recall, and F1 score values, respectively. With the decision Tree algorithm, the highest precision, recall, and F1 score values are 0.98, 0.98, and 0.92, respectively. The highest precision, recall, and F1 score values of the best poisonous class are 0.90, 0.98, and 0.92, respectively. The best performance results of the edible class were obtained with the highest precision, recall, and F1 score values of 0.98, 0.89, and 0.90, respectively. The average accuracy rate was 0.9028 with the Logistic Regression algorithm, and the precision, recall, and F1 score values of the poisonous class were obtained as 0.86, 0.97, and 0.91, respectively. Precision, recall, and F1 score values of the Edible class were obtained as 0.96, 0.83, and 0.89, respectively.