Cargando…
Identification of multiple raisins by feature fusion combined with NIR spectroscopy
Varieties of raisins are diverse, and different varieties have different nutritional properties and commercial value. In this paper, we propose a method to identify different varieties of raisins by combining near-infrared (NIR) spectroscopy and machine learning algorithms. The direct averaging of t...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9282468/ https://www.ncbi.nlm.nih.gov/pubmed/35834504 http://dx.doi.org/10.1371/journal.pone.0268979 |
_version_ | 1784747111571521536 |
---|---|
author | Zhang, Yajun Yang, Yan Ma, Chong Jiang, Liping |
author_facet | Zhang, Yajun Yang, Yan Ma, Chong Jiang, Liping |
author_sort | Zhang, Yajun |
collection | PubMed |
description | Varieties of raisins are diverse, and different varieties have different nutritional properties and commercial value. In this paper, we propose a method to identify different varieties of raisins by combining near-infrared (NIR) spectroscopy and machine learning algorithms. The direct averaging of the spectra taken for each sample may reduce the experimental data and affect the extraction of spectral features, thus limiting the classification results, due to the different substances of grape skins and flesh. Therefore, this experiment proposes a method to fuse the spectral features of pulp and peel. In this experiment, principal component analysis (PCA) was used to extract baseline corrected features, and linear models of k-nearest neighbor (KNN) and linear discriminant analysis (LDA) and nonlinear models of back propagation (BP), support vector machine with genetic algorithm (GA-SVM), grid search-support vector machine (GS-SVM) and particle swarm optimization with support vector machine (PSO- SVM) coupling were used to classify. This paper compared the results of four experiments using only skin spectrum, only flesh spectrum, average spectrum of skin and flesh, and their spectral feature fusion. The experimental results showed that the accuracy and Macro-F1 score after spectral feature fusion were higher than the other three experiments, and GS-SVM had the highest accuracy and Macro-F1 score of 94.44%. The results showed that feature fusion can improve the performance of both linear and nonlinear models. This may provide a new strategy for acquiring spectral data and improving model performance in the future. The code is available at https://github.com/L-ain/Source. |
format | Online Article Text |
id | pubmed-9282468 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-92824682022-07-15 Identification of multiple raisins by feature fusion combined with NIR spectroscopy Zhang, Yajun Yang, Yan Ma, Chong Jiang, Liping PLoS One Research Article Varieties of raisins are diverse, and different varieties have different nutritional properties and commercial value. In this paper, we propose a method to identify different varieties of raisins by combining near-infrared (NIR) spectroscopy and machine learning algorithms. The direct averaging of the spectra taken for each sample may reduce the experimental data and affect the extraction of spectral features, thus limiting the classification results, due to the different substances of grape skins and flesh. Therefore, this experiment proposes a method to fuse the spectral features of pulp and peel. In this experiment, principal component analysis (PCA) was used to extract baseline corrected features, and linear models of k-nearest neighbor (KNN) and linear discriminant analysis (LDA) and nonlinear models of back propagation (BP), support vector machine with genetic algorithm (GA-SVM), grid search-support vector machine (GS-SVM) and particle swarm optimization with support vector machine (PSO- SVM) coupling were used to classify. This paper compared the results of four experiments using only skin spectrum, only flesh spectrum, average spectrum of skin and flesh, and their spectral feature fusion. The experimental results showed that the accuracy and Macro-F1 score after spectral feature fusion were higher than the other three experiments, and GS-SVM had the highest accuracy and Macro-F1 score of 94.44%. The results showed that feature fusion can improve the performance of both linear and nonlinear models. This may provide a new strategy for acquiring spectral data and improving model performance in the future. The code is available at https://github.com/L-ain/Source. Public Library of Science 2022-07-14 /pmc/articles/PMC9282468/ /pubmed/35834504 http://dx.doi.org/10.1371/journal.pone.0268979 Text en © 2022 Zhang et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Zhang, Yajun Yang, Yan Ma, Chong Jiang, Liping Identification of multiple raisins by feature fusion combined with NIR spectroscopy |
title | Identification of multiple raisins by feature fusion combined with NIR spectroscopy |
title_full | Identification of multiple raisins by feature fusion combined with NIR spectroscopy |
title_fullStr | Identification of multiple raisins by feature fusion combined with NIR spectroscopy |
title_full_unstemmed | Identification of multiple raisins by feature fusion combined with NIR spectroscopy |
title_short | Identification of multiple raisins by feature fusion combined with NIR spectroscopy |
title_sort | identification of multiple raisins by feature fusion combined with nir spectroscopy |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9282468/ https://www.ncbi.nlm.nih.gov/pubmed/35834504 http://dx.doi.org/10.1371/journal.pone.0268979 |
work_keys_str_mv | AT zhangyajun identificationofmultipleraisinsbyfeaturefusioncombinedwithnirspectroscopy AT yangyan identificationofmultipleraisinsbyfeaturefusioncombinedwithnirspectroscopy AT machong identificationofmultipleraisinsbyfeaturefusioncombinedwithnirspectroscopy AT jiangliping identificationofmultipleraisinsbyfeaturefusioncombinedwithnirspectroscopy |