Enhancing Milk Quality Detection with Machine Learning: A Comparative Analysis of KNN and Distance-Weighted KNN Algorithms


Authors : Abdul Samad; Salih TAZE; Muhammed Kürsad UÇAR

Volume/Issue : Volume 9 - 2024, Issue 3 - March

Google Scholar : https://tinyurl.com/yuc7ht75

Scribd : https://tinyurl.com/y2avtpmj

DOI : https://doi.org/10.38124/ijisrt/IJISRT24MAR2123

Abstract : Ensuring the quality of milk is paramount for consumer health and industry standards. This study introduces a comparative analysis of two machine learning approaches, the k-Nearest Neighbors (KNN) algorithm and its variant, the Distance-Weighted KNN (DW-KNN), for the detection of milk quality. While the traditional KNN algorithm has been widely applied across various sectors for its simplicity and effectiveness, our research proposes an enhanced methodology through the implementation of the DW-KNN algorithm, which incorporates distance weighting to improve prediction accuracy. Through the analysis of a comprehensive dataset encompassing multiple milk quality indicators, we demonstrate that the DW-KNN algorithm significantly outperforms the standard KNN approach, achieving an exceptional accuracy of 99.53% compared to 98.58% by KNN. This substantial improvement highlights the potential of distance weighting in enhancing classification performance, particularly in applications requiring high precision in quality assessment. Our findings advocate for the adoption of the DW-KNN algorithm in the dairy industry and related fields, offering a robust tool for ensuring product quality and safety.

Keywords : Milk Quality Detection; KNN Algorithm; Distance-Weighted KNN; Dairy Quality Assessment.

Ensuring the quality of milk is paramount for consumer health and industry standards. This study introduces a comparative analysis of two machine learning approaches, the k-Nearest Neighbors (KNN) algorithm and its variant, the Distance-Weighted KNN (DW-KNN), for the detection of milk quality. While the traditional KNN algorithm has been widely applied across various sectors for its simplicity and effectiveness, our research proposes an enhanced methodology through the implementation of the DW-KNN algorithm, which incorporates distance weighting to improve prediction accuracy. Through the analysis of a comprehensive dataset encompassing multiple milk quality indicators, we demonstrate that the DW-KNN algorithm significantly outperforms the standard KNN approach, achieving an exceptional accuracy of 99.53% compared to 98.58% by KNN. This substantial improvement highlights the potential of distance weighting in enhancing classification performance, particularly in applications requiring high precision in quality assessment. Our findings advocate for the adoption of the DW-KNN algorithm in the dairy industry and related fields, offering a robust tool for ensuring product quality and safety.

Keywords : Milk Quality Detection; KNN Algorithm; Distance-Weighted KNN; Dairy Quality Assessment.

CALL FOR PAPERS


Paper Submission Last Date
31 - May - 2024

Paper Review Notification
In 1-2 Days

Paper Publishing
In 2-3 Days

Video Explanation for Published paper

Never miss an update from Papermashup

Get notified about the latest tutorials and downloads.

Subscribe by Email

Get alerts directly into your inbox after each post and stay updated.
Subscribe
OR

Subscribe by RSS

Add our RSS to your feedreader to get regular updates from us.
Subscribe