Skip to main content
Log in

Hyperparameter Optimized Rapid Prediction of Sea Bass Shelf Life with Machine Learning

  • Research
  • Published:
Food Analytical Methods Aims and scope Submit manuscript

Abstract

The article focuses on the importance of sea bass, which is preferred by consumers in Turkey and worldwide. However, seafood can deteriorate rapidly under unfavorable conditions during storage due to their nutrient content, water content, and weakness in connective tissues. Temperature changes, inappropriate processing methods during transportation, and temperature changes during storage in markets are reported to cause losses in seafood quality. The deterioration of seafood, especially in seafood stored under inappropriate conditions because of temperature, causes changes contrary to consumer preferences because of the rapid growth of microorganisms, especially odor changes in seafood. This study examines the models related to the discipline of predictive microbiology, which are stated to provide an accurate shelf life prediction of the rate of microbiological spoilage and emphasize the importance of mathematical predictions of these models for seafood. Furthermore, the paper observes that machine learning algorithms such as Random Forest, Decision Tree, k-Nearest Neighbors, AdaBoost, Gradient Tree Boosting, Random Forest, Decision Tree, k-Nearest Neighbors, AdaBoost, and Gradient Tree Boosting have been used to predict the shelf life of seafood products. Finally, how to augment the limited data in a laboratory study to evaluate the shelf life of sea bass stored at different temperatures, how to prove the consistency of the augmented data with the original data, and how to optimize successful machine learning methods for robust problem-solving processes between different engineering fields are explained in detail. The results show that the optimized Extra Tree algorithm is the most successful for Pseudomonas quantity estimation with an R2 metric value of 0.9940 and TVC quantity estimation with an R2 metric value of 0.9910, while the other algorithms are less successful than this algorithm. These results show that machine learning methods can be a rapid, powerful, and effective tool for shelf life prediction of sea bass. Additionally, it should be emphasized that the number of input parameters (temperature, number of the bacteria) are of utmost significant for augmentation of the data for development and application of the machine learning algorithms.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data Availability

No datasets were generated or analyzed during the current study.

References

  • AlOmar MK, Hameed MM, AlSaadi MA (2020) Multi hours ahead prediction of surface ozone gas concentration: robust artificial intelligence approach. Atmos Pollut Res 11(9):1572–1587. https://doi.org/10.1016/j.apr.2020.06.024

    Article  CAS  Google Scholar 

  • Alparslan Y, Gürel Ç, Metin C, Hasanhocaoğlu H, Baygar T (2012) Determination of sensory and quality changes at treated sea bass (Dicentrarchus labrax) during cold-storage. J Food Process Technol 3(183):2

    Google Scholar 

  • An Y, Liu N, Xiong J, Li P, Shen S, Qin X, Huang Q (2023) Quality changes and shelf-life prediction of pre-processed snakehead fish fillet seasoned by yeast extract: affected by packaging method and storage temperature. Food Chem Adv 3:100418

    Article  Google Scholar 

  • Anagnostopoulos DA, Parlapani FF, Boziaris IS (2022) The evolution of knowledge on seafood spoilage microbiota from the 20th to the 21st century: have we finished or just begun? Trends Food Sci Technol 120:236–247

    Article  CAS  Google Scholar 

  • Breiman L (2001) Random forests. Mach Learn 45(1):5–32. https://doi.org/10.1023/A:1010933404324

    Article  Google Scholar 

  • Chuesiang P, Sanguandeekul R, Siripatrawan U (2020) Phase inversion temperature-fabricated cinnamon oil nanoemulsion as a natural preservative for prolonging shelf-life of chilled Asian seabass (Lates calcarifer) fillets. Lwt 125:109122

    Article  CAS  Google Scholar 

  • Çötelı̇ FT (2023) Agrıcultural economy and polıcy development instıtute tepge, product report aquaculture products 2023, 9. https://arastirma.tarimorman.gov.tr/tepge/Menu/37/Urun-Raporlari. Accessed 15 May 2024

  • Cui F, Zheng S, Wang D, Ren L, Meng Y, Ma R, Li J (2024) Development of machine learning-based shelf-life prediction models for multiple marine fish species and construction of a real-time prediction platform. Food Chem, 139230

  • García MR, Ferez-Rubio JA, Vilas C (2022) Assessment and prediction of fish freshness using mathematical modelling: a review. Foods 11(15):2312

    Article  PubMed  PubMed Central  Google Scholar 

  • Georgouli K, Osorio MT, Del Rincon M, J., Koidis A, (2018) Data augmentation in food science: synthesising spectroscopic data of vegetable oils for performance enhancement. J Chemom 32(6):e3004

    Article  Google Scholar 

  • Geurts P, Ernst D, Wehenkel L (2006) Extremely randomized trees. Mach Learn 63(1):3–42. https://doi.org/10.1007/s10994-006-6226-1

    Article  Google Scholar 

  • Gowda B, Alamelu JV, Varsha K, Shetty A, Manjappa N (2023) Identification and detection of freshness in Edible fishes using Iot and Machine Learning techniques. J Surv Fisheries Sci 10(3):335–342

    Google Scholar 

  • Gram L (2009) Microbiological spoilage of fish and seafood products. Compendium Microbiol Spoilage Foods Beverages, 87–119

  • Gram L, Dalgaard P (2002) Fish spoilage bacteria— problems and solutions. Curr OpinBiotechnol 13:262–266

    CAS  Google Scholar 

  • Grassi S, Benedetti S, Magnani L, Pianezzola A, Buratti S (2022) Seafood freshness: e-nose data for classification purposes. Food Control 138:108994

    Article  Google Scholar 

  • Hammid AT, Bin Sulaiman MH, Abdalla AN (2018) Prediction of small hydropower plant power production in Himreen Lake dam (HLD) using artificial neural network. Alexandria Eng J 57(1):211–221. https://doi.org/10.1016/j.aej.2016.12.011

    Article  Google Scholar 

  • Kaveh M, Çetin N, Khalife E, Abbaspour-Gilandeh Y, Sabouri M, Sharifian F (2023) Machine learning approaches for estimating apricot drying characteristics in various advanced and conventional dryers. J Food Process Eng 46(12):e14475. https://doi.org/10.1111/jfpe.14475

    Article  Google Scholar 

  • Koutsoumanis K (2001) Predictive modeling of the shelf life of fish under nonisothermal conditions. Appl Environ Microbiol 67(4):1821–1829

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  • Koutsoumanis K, Nychas GJE (2000) Application of a systematic experimental procedure to develop a microbial model for rapid fish shelf life predictions. Int J Food Microbiol 60(2–3):171–184

    Article  CAS  PubMed  Google Scholar 

  • Koutsoumanis K, Giannakourou MC, Taoukis PS, Nychas GJE (2002) Application of shelf life decision system (SLDS) to marine cultured fish quality. Int J Food Microbiol 73(2–3):375–382

    Article  CAS  PubMed  Google Scholar 

  • Li H, Wang Y, Zhang J, Li X, Wang J, Yi S, Li J (2023) Prediction of the freshness of horse mackerel (Trachurus japonicus) using E-nose, E-tongue, and colorimeter based on biochemical indexes analyzed during frozen storage of whole fish. Food Chem 402:134325

  • Maharana K, Mondal S, Nemade B (2022) A review: data pre-processing and data augmentation techniques. Global Transitions Proceedings 3(1):91–99

    Article  Google Scholar 

  • Masniyom P, Benjakul S, Visessanguan W (2002) Shelf-life extension of refrigerated seabass slices under modified atmosphere packaging. J Sci Food Agric 82(8):873–880

    Article  CAS  Google Scholar 

  • Messens W, Hempen M, Koutsoumanis K (2018) Use of predictive modelling in recent work of the panel on Biological hazards of the European Food Safety Authority. Microb Risk Anal 10:37–43

    Article  Google Scholar 

  • Mishra G, Sehgal D, Valadi JK (2017) Hypothesis quantitative structure activity relationship study of the anti-hepatitis peptides employing Random forests and extra-trees regressors. Open Access Volume 13(3):60–62

    Google Scholar 

  • Ntzimani A, Angelakopoulos R, Semenoglou I, Dermesonlouoglou E, Tsironi T, Moutou K, Taoukis P (2023) Slurry ice as an alternative cooling medium for fish harvesting and transportation: study of the effect on seabass flesh quality and shelf life. Aquaculture Fisheries 8(4):385–392

    Article  Google Scholar 

  • Odeyemi OA, Burke CM, Bolch CC, Stanley R (2018) Seafood spoilage microbiota and associated volatile organic compounds at different storage temperatures and packaging conditions. Int J Food Microbiol 280:87–99

    Article  CAS  PubMed  Google Scholar 

  • Poli BM, Messini A, Parisi G, Scappini F, Vigiani V, Giorgi G, Vincenzini M (2006) Sensory, physical, chemical and microbiological changes in European sea bass (Dicentrarchus labrax) fillets packed under modified atmosphere/air or prepared from whole fish stored in ice. Int J Food Sci Technol 41(4):444–454

    Article  CAS  Google Scholar 

  • Prema K, Visumathi J (2022) An improved non-destructive shrimp freshness detection method based on hybrid CNN and SVM with GAN augmentation. In: 2022 international conference on advances in computing, communication and applied informatics (ACCAI). IEEE, pp 1–7

  • Srinivasan P, Robinson J, Geevaretnam J, Rayappan JBB (2020) Development of electronic nose (Shrimp-Nose) for the determination of perishable quality and shelf-life of cultured Pacific white shrimp (Litopenaeus Vannamei). Sens Actuators B 317:128192

    Article  CAS  Google Scholar 

  • Taliadourou D, Papadopoulos V, Domvridou E, Savvaidis IN, Kontominas MG (2003) Microbiological, chemical and sensory changes of whole and filleted Mediterranean aquacultured sea bass (Dicentrarchus labrax) stored in ice. J Sci Food Agric 83(13):1373–1379

    Article  CAS  Google Scholar 

  • Tito Anand MA, Anandakumar S, Pare A, Chandrasekar V, Venkatachalapathy N (2022) Modeling of process parameters to predict the efficiency of shallots stem cutting machine using multiple regression and artificial neural network. Journal of Food Process Engineering 45(6):e13944. https://doi.org/10.1111/jfpe.13944

    Article  Google Scholar 

  • Tran GD, Ndraha N, Hsiao HI (2019) Development of predictive model for the remaining shelf-life of tilapia fillet under variable temperature conditions. J Fish Soc Taiwan 46(1):19–30

    Google Scholar 

  • Turan H, Kocatepe D (2013) Different MAP conditions to improve the shelf life of sea bass. Food Sci Biotechnol 22:1589–1599

    Article  CAS  Google Scholar 

  • Wijaya DR, Syarwan NF, Nugraha MA, Ananda D, Fahrudin T, Handayani R (2023) Seafood Quality Detection using electronic nose and Machine Learning Algorithms with Hyperparameter optimization. IEEE Access

  • Willmott CJ, Matsuura K (2005) Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Clim Res 30(1):79–82. https://doi.org/10.3354/cr030079

    Article  Google Scholar 

  • Wu T, Lu J, Zou J, Chen N, Yang L (2022) Accurate prediction of salmon freshness under temperature fluctuations using the convolutional neural network long short-term memory model. J Food Eng 334:111171

    Article  Google Scholar 

  • Yin C, Wang J, Qian J, Xiong K, Zhang M (2022) Quality changes of rainbow trout stored under different packaging conditions and mathematical modeling for predicting the shelf life. Food Packaging Shelf Life 32:100824

    Article  CAS  Google Scholar 

  • Yu X, Yu X, Wen S, Yang J, Wang J (2019) Using deep learning and hyperspectral imaging to predict total viable count (TVC) in peeled Pacific white shrimp. J Food Meas Charact 13:2082–2094

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

Remzi Gürfi̇dan: machine learning methods and fine-tuning process, writing discussion and results. İsmail Yüksel Genç: microbiological experiments, writing introduction and conclusion. Hamit Armağan: writing introduction and related works. Recep Çolak: writing introduction and related works.

Corresponding author

Correspondence to Remzi Gürfidan.

Ethics declarations

Competing Interests

The authors declare no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Gürfidan, R., Genç, İ.Y., Armağan, H. et al. Hyperparameter Optimized Rapid Prediction of Sea Bass Shelf Life with Machine Learning. Food Anal. Methods (2024). https://doi.org/10.1007/s12161-024-02635-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s12161-024-02635-4

Keywords

Navigation