Answers are grounded in this paper and cite their sources.
The adulteration of coconut oil is a major concern because of its effects on the food, food authenticity and consumer safety. In this study, a novel noninvasive hyperspectral imaging framework (Swin-KRnt) is proposed to detect the coconut oil adulteration and predict the thermal degradation. The proposed model is a combination of Swin Transformer based feature enhancement, SelectKBest based feature optimization and Random Forest learning for improved spectral representation and predictive performance. Nine hyperspectral wavelengths were obtained and used to obtain the meaningful information from coconut oil samples by applying spectral indices and statistical feature engineering. The results of the experiments confirmed the ability of the proposed framework to outperform the traditional machine learning models, attaining an R2 value exceeding 99% and minimal RMSE and MAE values. Ablation studies and feature engineering analyses also underscored the benefits of transformer-based learning and optimal feature selection for enhancing model robustness and accuracy. The results showed that the proposed Swin-KRnt framework is a fast, environmentally friendly and highly accurate approach for intelligent food authentication and precision food quality monitoring applications.
No takes yet. Share an insight, caveat, or question.
Mehmood et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: