| International Journal of Computer Applications |
| Foundation of Computer Science (FCS), NY, USA |
| Volume 187 - Number 53 |
| Year of Publication: 2025 |
| Authors: Sai Sri Chandana Jada, M. Senthil, Kolla Vivek |
10.5120/ijca2025925908
|
Sai Sri Chandana Jada, M. Senthil, Kolla Vivek . Classification vs. Regression for Real-Time Fruit Shelf-Life Prediction: A Transfer Learning Approach with MobileNetV2 for Edge AI. International Journal of Computer Applications. 187, 53 ( Nov 2025), 50-57. DOI=10.5120/ijca2025925908
The agricultural industry faces significant challenges in managing perishable goods, with a substantial portion of produce being wasted due to spoilage. This paper presents a comparative study of two deep learning approaches for predicting the shelf life of fruits using Convolutional Neural Networks (CNNs) and edge computing. This study developed and evaluated both a classification model and a regression model, both based on the MobileNetV2 architecture for a fair comparison. The classification model achieved a test accuracy of 74.75%, while the regression model provided more granular predictions with a mean absolute error of 1.44 days. Both models were converted to the TensorFlow Lite (TFLite) format and evaluated on the test set, achieving identical performance to their Keras counterparts while significantly reducing prediction latency. This research explores the advantages and disadvantages of both classification and regression approaches, demonstrating the potential of deep learning and edge computing to create scalable and efficient solutions for real-time shelf-life prediction, which can help to reduce food waste and optimize supply chain management.