
Harjinder Singh
DirectorMassey Institute of Food Science and Technology, NEW ZEALAND

Submitted
2025/06/18First Online
2025/11/05doi
10.18805/ajdfr.DRF-565Cite article - Ardiana Topi, Majlinda Sana, Marjeta Daja, Dritan Topi. (2025). Applications of Machine Learning Models in Near-infrared Spectroscopy for Small-grain Quality Control. Asian Journal of Dairy and Food Research. 44: 142–150. doi: 10.18805/ajdfr.DRF-565
Background: Wheat quality and safety are crucial for global food security and regional agricultural economies. Conventional analytical methods for assessing grain composition and quality-while accurate-are often time-consuming, destructive and resource-intensive. In contrast, near-infrared spectroscopy (NIR) has emerged as a rapid, non-destructive alternative that provides detailed chemical and physical insights. Recent advancements in machine learning have enhanced NIR’s analytical capabilities by enabling the development of predictive models that accurately categorize, quantify and monitor grain quality parameters. These models-spanning from linear regression methods to intricate neural networks-enable researchers to discern significant patterns from spectral data, even amidst noise or overlapping signals.
Methods: This study used NIR spectroscopy and machine learning models to evaluate wheat quality across multiple Albanian regions during the 2023 harvest. NIR spectra were preprocessed using standard normalization and smoothing techniques. Machine learning models-including PLSR, SVM and random forest-were trained to predict key quality traits such as protein content and moisture. Model performance was validated using cross-validation metrics (RMSE, R², accuracy), demonstrating the potential of NIR-ML integration for rapid, non-destructive grain assessment.
Result: Protein content ranged from 9.6% to 15.0%, gluten from 19.4% to 37.5% and starch from 66.3% to 71.5%, indicating consistent nutritional profiles across samples. Sedimentation index values (21.1-57.8 cm³) and moisture levels (9.8-12.5%) confirmed compliance with EU food safety standards. The integration of NIR spectroscopy with machine learning enabled rapid, non-destructive prediction of wheat quality traits, supporting scalable decision-making in agri-food systems.
Distinguished scholars and subject experts committed to editorial excellence, scientific integrity and rigorous peer review.
View Full Board