Pistachio powder authenticity assessment using supervised machine learning algorithms

Adulteration of premium pistachio products with cheaper legume powders poses a significant food safety and economic concern. This study developed a non-destructive detection framework using visible-shortwave near infra-red (Vis-SWNIR) hyperspectral spectroscopy (400-1000 nm) combined with three machine learning algorithms-Discriminant Analysis (DA), Support Vector Machine (SVM), and K-Nearest Neighbours (KNN)-to discriminate pure pistachio powder from powder adulterated with 25% and 50% fava bean powder. Spectral absorption analysis revealed a monotonic decrease in absorption across all wavelengths (425-990 nm) with increasing fava bean concentration, with no wavelength showing higher absorption in adulterated samples. To reduce dimensionality and collinearity, Principal Component Analysis (PCA) was performed on the pre-processed spectra, and the first five principal components were retained as inputs for classification, explaining at least 99% of the cumulative spectral variance. Among the classifiers, DA achieved the highest accuracy (97.3%), followed by SVM (94.6%) and KNN (91.9%). All three classifiers perfectly or near-perfectly distinguished pure pistachio from adulterated samples, with errors occurring primarily between the two adulteration levels. The results demonstrate that Vis-SWNIR hyperspectral spectroscopy combined with DA or SVM provides a rapid, accurate, and non-destructive solution for detecting fava bean adulteration in pistachio powder, with potential for development into low-cost portable screening devices.

Authors

Institutions

Publication Details

Journal
Food Additives & Contaminants Part A
Published
2026-10-29
DOI
https://doi.org/10.1080/19440049.2026.2713743
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Pistachio powder authenticity assessment using supervised machine learning algorithms

Reza Mohammadigol, Majid Lashgari
Food Additives & Contaminants Part A
Spectroscopy and Chemometric Analyses
article

Pistachio powder authenticity assessment using supervised machine learning algorithms

Reza Mohammadigol, Majid Lashgari
article en

Abstract

Adulteration of premium pistachio products with cheaper legume powders poses a significant food safety and economic concern. This study developed a non-destructive detection framework using visible-shortwave near infra-red (Vis-SWNIR) hyperspectral spectroscopy (400-1000 nm) combined with three machine learning algorithms-Discriminant Analysis (DA), Support Vector Machine (SVM), and K-Nearest Neighbours (KNN)-to discriminate pure pistachio powder from powder adulterated with 25% and 50% fava bean powder. Spectral absorption analysis revealed a monotonic decrease in absorption across all wavelengths (425-990 nm) with increasing fava bean concentration, with no wavelength showing higher absorption in adulterated samples. To reduce dimensionality and collinearity, Principal Component Analysis (PCA) was performed on the pre-processed spectra, and the first five principal components were retained as inputs for classification, explaining at least 99% of the cumulative spectral variance. Among the classifiers, DA achieved the highest accuracy (97.3%), followed by SVM (94.6%) and KNN (91.9%). All three classifiers perfectly or near-perfectly distinguished pure pistachio from adulterated samples, with errors occurring primarily between the two adulteration levels. The results demonstrate that Vis-SWNIR hyperspectral spectroscopy combined with DA or SVM provides a rapid, accurate, and non-destructive solution for detecting fava bean adulteration in pistachio powder, with potential for development into low-cost portable screening devices.

Food Additives & Contaminants Part A
Arak University (IR)
Zero hunger
Openalex Percentile: Top 19%
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Pistachio powder authenticity assessment using supervised machine learning algorithms — Reza Mohammadigol, Majid Lashgari · Food Additives & Contaminants Part A (2026) | TGRS Research Map | TGRS