MDP Student Conference
Vol 4 No 1 (2025): The 4th MDP Student Conference 2025

Klasifikasi Kualitas Selada Menggunakan Algoritma K-Nearest Neighbors dengan Nutrisi NPK Berdasarkan Fitur HSV

Maharani, Sanila (Unknown)
Rusbandi, Rusbandi (Unknown)



Article Info

Publish Date
30 Apr 2025

Abstract

Hydroponics is a soilless planting method that uses water containing essential nutrient solutions. Lettuce (Lactuca sativa) is a popular vegetable, including those grown hydroponically because of its high nutritional content. In hydroponics, plants depend on three main elements: Nitrogen (N), Phosphorus (P), and Potassium (K). Deficiency of one of these elements affects the color and quality of lettuce. This study aims to classify the nutritional quality of lettuce using the K-Nearest Neighbors (KNN) algorithm with NPK nutrients based on HSV features, with evaluation through Euclidean Distance. Lettuce is classified into four categories FN (Full Nutrition), K (Potassium), N (Nitrogen), and P (Phosphorus). The results showed the highest accuracy at K = 1 of 86.2%, precision 85.7%, recall 70.5%. So this method is proven effective for classifying the nutritional quality of lettuce.

Copyrights © 2025






Journal Info

Abbrev

msc

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Economics, Econometrics & Finance Electrical & Electronics Engineering

Description

MDP Student Conference is a one-year national conference organized by the Universitas Multi Data Palembang. We are inviting teachers, lecturers, researchers, scholars, students, and or other key stakeholders to present and discuss their latest findings, innovations, and best practices as well as ...