{"title":"非破坏性鳄梨成熟度分类的优化集成学习","authors":"Panudech Tipauksorn , Prasert Luekhong , Minoru Okada , Jutturit Thongpron , Chokemongkol Nadee , Krisda Yingkayun","doi":"10.1016/j.atech.2025.101114","DOIUrl":null,"url":null,"abstract":"<div><div>Classifying avocado ripeness accurately is crucial for enhancing post-harvest management and minimizing waste in agricultural supply chains. This study focuses on creating a strong ensemble classification model using spectral data from 120 kilogrammes of Buccaneer avocados obtained from the Royal Project in Chiang Mai, Thailand. We analyzed the avocados with near-infrared (NIR) spectroscopy at 18 wavelengths. Five machine learning models Random Forest, Decision Tree, XGBoost, Gradient Boosting, and Gaussian Mixture Model were trained separately and then merged into an ensemble. Four algorithms were used to optimize the model weight distribution: Bayesian Optimisation, Differential Evolution, Particle Swarm Optimisation, and Grid Search. We assessed performance through accuracy, precision, recall, F1-score, confusion matrices, and ROC curves. Grid Search achieved the best classification performance, reaching an accuracy of 82.5% and an F1-score of 85.3%, highlighting the benefits of weight-optimized ensemble learning compared to single classifiers. This study offers a scalable and clear method for non-destructive ripeness detection. The findings, despite some limitations like overfitting and reliance on spectral data quality, support future real-time deployment in agriculture.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"12 ","pages":"Article 101114"},"PeriodicalIF":5.7000,"publicationDate":"2025-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Optimized ensemble learning for non-destructive avocado ripeness classification\",\"authors\":\"Panudech Tipauksorn , Prasert Luekhong , Minoru Okada , Jutturit Thongpron , Chokemongkol Nadee , Krisda Yingkayun\",\"doi\":\"10.1016/j.atech.2025.101114\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Classifying avocado ripeness accurately is crucial for enhancing post-harvest management and minimizing waste in agricultural supply chains. This study focuses on creating a strong ensemble classification model using spectral data from 120 kilogrammes of Buccaneer avocados obtained from the Royal Project in Chiang Mai, Thailand. We analyzed the avocados with near-infrared (NIR) spectroscopy at 18 wavelengths. Five machine learning models Random Forest, Decision Tree, XGBoost, Gradient Boosting, and Gaussian Mixture Model were trained separately and then merged into an ensemble. Four algorithms were used to optimize the model weight distribution: Bayesian Optimisation, Differential Evolution, Particle Swarm Optimisation, and Grid Search. We assessed performance through accuracy, precision, recall, F1-score, confusion matrices, and ROC curves. Grid Search achieved the best classification performance, reaching an accuracy of 82.5% and an F1-score of 85.3%, highlighting the benefits of weight-optimized ensemble learning compared to single classifiers. This study offers a scalable and clear method for non-destructive ripeness detection. The findings, despite some limitations like overfitting and reliance on spectral data quality, support future real-time deployment in agriculture.</div></div>\",\"PeriodicalId\":74813,\"journal\":{\"name\":\"Smart agricultural technology\",\"volume\":\"12 \",\"pages\":\"Article 101114\"},\"PeriodicalIF\":5.7000,\"publicationDate\":\"2025-06-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Smart agricultural technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2772375525003478\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURAL ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2772375525003478","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
Optimized ensemble learning for non-destructive avocado ripeness classification
Classifying avocado ripeness accurately is crucial for enhancing post-harvest management and minimizing waste in agricultural supply chains. This study focuses on creating a strong ensemble classification model using spectral data from 120 kilogrammes of Buccaneer avocados obtained from the Royal Project in Chiang Mai, Thailand. We analyzed the avocados with near-infrared (NIR) spectroscopy at 18 wavelengths. Five machine learning models Random Forest, Decision Tree, XGBoost, Gradient Boosting, and Gaussian Mixture Model were trained separately and then merged into an ensemble. Four algorithms were used to optimize the model weight distribution: Bayesian Optimisation, Differential Evolution, Particle Swarm Optimisation, and Grid Search. We assessed performance through accuracy, precision, recall, F1-score, confusion matrices, and ROC curves. Grid Search achieved the best classification performance, reaching an accuracy of 82.5% and an F1-score of 85.3%, highlighting the benefits of weight-optimized ensemble learning compared to single classifiers. This study offers a scalable and clear method for non-destructive ripeness detection. The findings, despite some limitations like overfitting and reliance on spectral data quality, support future real-time deployment in agriculture.