Detection of Adulteration in Coconut Milk using Infrared Spectroscopy and Machine Learning
Preprint
Abstract
In this paper, we propose a system for detecting adulteration in coconut milk, utilizing infrared spectroscopy. The machine learning-based proposed system comprises three phases: preprocessing, feature extraction, and classification. The first phase involves removing irrelevant data from coconut milk spectral signals. In the second phase, we employ the Linear Discriminant Analysis (LDA) algorithm for extracting the most discriminating features. In the third phase, we use the K-Nearest Neighbor (KNN) model to classify coconut milk samples into authentic or adulterated. We evaluate the performance of the proposed system using a public dataset comprising Fourier Transform Infrared (FTIR) spectral information of pure and contaminated coconut milk samples. Findings show that the proposed method successfully detects adulteration with a cross-validation accuracy of 93.33%.Keywords
All Related Versions
- Version 1, 2025-07-31, ArXiv
- Published version: , 1.
This publication has 8 references indexed in Scilit:
- Honey Classification using Hyperspectral Imaging and Machine Learning2021
- Dataset of adulteration with water in coconut milk using FTIR spectroscopyData in Brief, 2021
- Linear discriminant analysis: A detailed tutorialAI Communications, 2017
- A new method to measure fat content in coconut milk based on Y-type optic fiber systemOptik, 2014
- Robust Data Mining2013
- An Image Analysis Approach for Detecting Malignant Cells in Digitized H&E-stained Histology Images of Follicular Lymphoma2010
- Effect of homogenizing pressure and sterilizing condition on quality of canned high fat coconut milkJournal of Food Engineering, 2006
- Support-vector networksMachine Learning, 1995