BIMASAKTI
Vol 9 No 1 (2026): BIMASAKTI

ANALISIS PERBANDINGAN KINERJA REGRESI LINEAR DAN K-NEAREST NEIGHBORS (KNN) DALAM PEMBUATAN MODEL PREDIKSI HASIL PANEN TANAMAN TEBU: STUDI KASUS DI DESA GONDANGLEGI

Muhammad Choiril Anam (Universitas PGRI Kanjuruhan Malang)
Amak Yunus (Universitas PGRI Kanjuruhan Malang)
Moh Ahsan (Universitas PGRI Kanjuruhan Malang)



Article Info

Publish Date
22 Oct 2026

Abstract

Sugarcane yield prediction is an important aspect in agricultural planning and decision-making. This study aims to compare the performance of Linear Regression and K-Nearest Neighbors (KNN) methods in predicting sugarcane yields in Gondanglegi Village, Malang Regency. The dataset used consists of historical yield data from 2020 to 2024, including land area and rainfall as independent variables and crop yield as the dependent variable. The research stages include data preprocessing, normalization, data splitting with three ratios (80:20, 70:30, and 90:10), model training, and evaluation using Mean Absolute Error (MAE), Mean Squared Error (MSE), and the coefficient of determination (R²). The results indicate that Linear Regression consistently achieves higher R² values compared to KNN, indicating a better ability to explain yield variability. Although KNN shows competitive error values in certain ratios, it is more sensitive to data structure and parameter selection. Therefore, Linear Regression is considered more suitable for sugarcane yield prediction based on the dataset used in this study.

Copyrights © 2026






Journal Info

Abbrev

JFTI

Publisher

Subject

Biochemistry, Genetics & Molecular Biology Chemical Engineering, Chemistry & Bioengineering Civil Engineering, Building, Construction & Architecture Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management

Description

Jurnal Riset Mahasiswa Bidang Teknologi Informasi "BIMASAKTI". Merupakan jurnal ilmiah di bidang ilmu Teknologi Informasi yang berada di bawah naungan Prodi Teknik Informatika, Fakultas Sains dan Teknologi, Universitas PGRI Kanjuruhan Malang (UNIKAMA). Jurnal ini hadir untuk mendorong penyebarluasan ...