CNN Optimization with Adam Optimizer for Mushroom Data Classification

Authors

  • Dika Universitas Pembangunan Panca Budi
  • Zulham Sitorus Universitas Pembangunan Panca Budi

Keywords:

Convolutional Neural Network, Adam Optimizer, Mushroom Classification, Deep Learning, Image Classification, Computer Vision

Abstract

Mushroom identification is an important task in food safety and biological classification due to the morphological similarities between edible and poisonous species. Traditional identification methods often rely on expert knowledge and manual observation, which may be time-consuming and prone to human error. Therefore, this study proposes an optimized Convolutional Neural Network (CNN) model using Adam Optimizer for mushroom classification. The proposed approach employs image preprocessing techniques including resizing, normalization, and data augmentation to improve data quality and model robustness. The dataset was divided into training, validation, and testing subsets to ensure reliable model evaluation. CNN architecture consisting of convolutional, pooling, and fully connected layers was implemented and trained using Adam Optimizer with adaptive learning rate mechanisms. Experimental results demonstrated that the proposed model achieved high classification performance, with training accuracy reaching 98.21% and validation accuracy of 96.54%, accompanied by consistently decreasing loss values. Confusion matrix analysis further confirmed reliable classification capability with minimal misclassification between mushroom classes. Comparative evaluation indicated that Adam Optimizer outperformed conventional optimization methods in terms of convergence speed and classification accuracy. These findings suggest that CNN optimized with Adam provides an effective and reliable framework for automated mushroom classification and has strong potential for applications in food safety, agriculture, and intelligent biological image recognition systems.

References

. Géron, Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd ed. Sebastopol, CA, USA: O’Reilly Media, 2022.

. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet Classification with Deep Convolutional Neural Networks,” Communications of the ACM, vol. 60, no. 6, pp. 84–90, 2017.

. D. P. Kingma and J. Ba, “Adam: A Method for Stochastic Optimization,” Proceedings of the International Conference on Learning Representations (ICLR), pp. 1–15, 2015.

. F. Chollet, Deep Learning with Python, 2nd ed. Shelter Island, NY, USA: Manning Publications, 2021.

. H. Sharma and S. Kumar, “Deep Learning Based Mushroom Classification Using Convolutional Neural Network,” International Journal of Advanced Computer Science and Applications, vol. 12, no. 8, pp. 245–252, 2021.

. H. Shin et al., “Deep Convolutional Neural Networks for Computer-Aided Detection,” IEEE Transactions on Medical Imaging, vol. 35, no. 5, pp. 1285–1298, 2016.

. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.

. J. Brownlee, Deep Learning for Computer Vision. Melbourne, Australia: Machine Learning Mastery, 2019.

. J. Deng et al., “ImageNet: A Large-Scale Hierarchical Image Database,” Proceedings of IEEE CVPR, pp. 248–255, 2009.

. K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2016.

. M. Abadi et al., “TensorFlow: A System for Large-Scale Machine Learning,” Proceedings of OSDI, pp. 265–283, 2016.

. M. Patel and P. Shah, “Comparative Analysis of CNN Optimizers for Image Classification,” International Journal of Intelligent Systems and Applications, vol. 14, no. 2, pp. 55–64, 2022.

. M. Shorten and T. M. Khoshgoftaar, “A Survey on Image Data Augmentation for Deep Learning,” Journal of Big Data, vol. 6, no. 60, pp. 1–48, 2019.

. O. Russakovsky et al., “ImageNet Large Scale Visual Recognition Challenge,” International Journal of Computer Vision, vol. 115, no. 3, pp. 211–252, 2015.

. R. C. Gonzalez and R. E. Woods, Digital Image Processing, 4th ed. New York, NY, USA: Pearson, 2018.

. S. Albawi, T. A. Mohammed, and S. Al-Zawi, “Understanding of a Convolutional Neural Network,” International Conference on Engineering and Technology (ICET), pp. 1–6, 2017.

. S. Minaee et al., “Image Segmentation Using Deep Learning: A Survey,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 44, no. 7, pp. 3523–3542, 2022.

. S. Ruder, “An Overview of Gradient Descent Optimization Algorithms,” arXiv preprint arXiv:1609.04747, 2016.

. S. Zhang, A. E. Choromanska, and Y. LeCun, “Deep Learning with Elastic Averaging SGD,” Advances in Neural Information Processing Systems, vol. 28, pp. 685–693, 2015.

. Y. LeCun, Y. Bengio, and G. Hinton, “Deep Learning,” Nature, vol. 521, no. 7553, pp. 436–444, 2015.

Downloads

Published

2025-10-27

Most read articles by the same author(s)