{"title":"Machine learning driven portable Vis-SWNIR spectrophotometer for non-destructive classification of raw tomatoes based on lycopene content","authors":"Arun Sharma , Ritesh Kumar , Nishant Kumar , Vikas Saxena","doi":"10.1016/j.vibspec.2023.103628","DOIUrl":null,"url":null,"abstract":"<div><p>Most of the research on intact fruit spectroscopy is derivative in nature as it primarily showcase application of existing spectroscopy devices which are often proprietary in nature. The regression models developed by researchers to predict physicochemical attributes using spectra remain theoretical due to lack of mechanism to integrate the developed models back into proprietary devices. This poses challenge for commercial adaptation of this technology in commercial food quality supply chain. The present study addresses this research gap by presenting first of its kind innovative approach to classify tomatoes based on lycopene content using chemometrics-machine learning framework driven portable short-wave near infra-red (SWNIR) spectrophotometer developed by integration of open-source hardware (AS7265x multispectral chipset having wavelength range 410–940 nanometre (nm), Arduino Uno microcontroller) and software (R platform), housed in ergonomically designed and 3-dimension printed cabinet ensuring noise-free spectra acquisition. The lycopene content was observed to have strong negative correlation with wavelengths (nm) 485, 560 and 585 at ρ = – 0.65, – 0.70, – 0.70, whereas strong positive correlation with 760 nm at ρ = +0.64. Similar associations were qualitatively observed using principal component analysis. Atypical of literature, feature selection was performed based on analysis of variance and 14 wavelengths which exhibited statistically significant difference with respect to 15-days storage study (p ≤ 0.05) were selected for model development. Chemometrics-machine learning framework was used for development of optimised probabilistic and non-probabilistic models including logistic regression, Linear Discriminant Analysis (LDA), Random Forest (RF), Artificial Neural Networks (ANN) and Support Vector Machine (SVM) models using 10-fold cross validation subjected to 80–20% train-test split of the dataset. In agreement with literature, 500–750 nm wavelength range dominated the classification of lycopene content. Notably, specific wavelengths for logistic regression (560 nm), LDA (730 nm, 645 nm, 560 nm, 535 nm), RF (760 nm, 585 nm, 560 nm, 645 nm), and ANN (585 nm, 560 nm) significantly influenced outcome instances across classifiers. Accuracy obtained from confusion matrix on test dataset was used as performance metric to compare different models. Logistic regression and RF showcased accuracy of 80%, LDA and SVM at 90% while ANN outperformed all models with accuracy of 95%. This study successfully augmented technological advancement in field of spectroscopy for non-invasive quality assessment of fruit. It is recommended to conduct similar studies on other climacteric fruits for wider adoption of this technology.</p></div>","PeriodicalId":23656,"journal":{"name":"Vibrational Spectroscopy","volume":"130 ","pages":"Article 103628"},"PeriodicalIF":2.7000,"publicationDate":"2023-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0924203123001352/pdfft?md5=935231dd9459a701dd5ac3a36975cc14&pid=1-s2.0-S0924203123001352-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Vibrational Spectroscopy","FirstCategoryId":"92","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0924203123001352","RegionNum":3,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"CHEMISTRY, ANALYTICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Most of the research on intact fruit spectroscopy is derivative in nature as it primarily showcase application of existing spectroscopy devices which are often proprietary in nature. The regression models developed by researchers to predict physicochemical attributes using spectra remain theoretical due to lack of mechanism to integrate the developed models back into proprietary devices. This poses challenge for commercial adaptation of this technology in commercial food quality supply chain. The present study addresses this research gap by presenting first of its kind innovative approach to classify tomatoes based on lycopene content using chemometrics-machine learning framework driven portable short-wave near infra-red (SWNIR) spectrophotometer developed by integration of open-source hardware (AS7265x multispectral chipset having wavelength range 410–940 nanometre (nm), Arduino Uno microcontroller) and software (R platform), housed in ergonomically designed and 3-dimension printed cabinet ensuring noise-free spectra acquisition. The lycopene content was observed to have strong negative correlation with wavelengths (nm) 485, 560 and 585 at ρ = – 0.65, – 0.70, – 0.70, whereas strong positive correlation with 760 nm at ρ = +0.64. Similar associations were qualitatively observed using principal component analysis. Atypical of literature, feature selection was performed based on analysis of variance and 14 wavelengths which exhibited statistically significant difference with respect to 15-days storage study (p ≤ 0.05) were selected for model development. Chemometrics-machine learning framework was used for development of optimised probabilistic and non-probabilistic models including logistic regression, Linear Discriminant Analysis (LDA), Random Forest (RF), Artificial Neural Networks (ANN) and Support Vector Machine (SVM) models using 10-fold cross validation subjected to 80–20% train-test split of the dataset. In agreement with literature, 500–750 nm wavelength range dominated the classification of lycopene content. Notably, specific wavelengths for logistic regression (560 nm), LDA (730 nm, 645 nm, 560 nm, 535 nm), RF (760 nm, 585 nm, 560 nm, 645 nm), and ANN (585 nm, 560 nm) significantly influenced outcome instances across classifiers. Accuracy obtained from confusion matrix on test dataset was used as performance metric to compare different models. Logistic regression and RF showcased accuracy of 80%, LDA and SVM at 90% while ANN outperformed all models with accuracy of 95%. This study successfully augmented technological advancement in field of spectroscopy for non-invasive quality assessment of fruit. It is recommended to conduct similar studies on other climacteric fruits for wider adoption of this technology.
期刊介绍:
Vibrational Spectroscopy provides a vehicle for the publication of original research that focuses on vibrational spectroscopy. This covers infrared, near-infrared and Raman spectroscopies and publishes papers dealing with developments in applications, theory, techniques and instrumentation.
The topics covered by the journal include:
Sampling techniques,
Vibrational spectroscopy coupled with separation techniques,
Instrumentation (Fourier transform, conventional and laser based),
Data manipulation,
Spectra-structure correlation and group frequencies.
The application areas covered include:
Analytical chemistry,
Bio-organic and bio-inorganic chemistry,
Organic chemistry,
Inorganic chemistry,
Catalysis,
Environmental science,
Industrial chemistry,
Materials science,
Physical chemistry,
Polymer science,
Process control,
Specialized problem solving.