Detection of Adulteration in Coconut Milk using Infrared Spectroscopy and Machine Learning

Mokhtar A. Al-Awadhi, Ratnadeep R. Deshmukh
7/31/2025
cs.LG

No confident code implementation found for this paper.

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%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{alawadhi2025detection,
  title  = {Detection of Adulteration in Coconut Milk using Infrared Spectroscopy and Machine Learning},
  author = {Mokhtar A. Al-Awadhi and Ratnadeep R. Deshmukh},
  year   = {2025},
  eprint = {2507.23418},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.23418v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.23418.svg)](https://codeofpaper.com/paper/2507.23418)

Discussion