PENERAPAN K-NEAREST NEIGBOR UNTUK MEMPREDIKSI HASIL PANEN KEDELAI BERDASARKAN DATA CUACA DAN TANAH
Abstract
ABSTRAK: Kedelai merupakan bahan pokok yang dibutuhkan masyarakat pada setiap tahunnya. Fakta pada lapangan, para petani di Indonesia mengalami penurunan hasil produksi kedelai. Hal tersebut dikarenakan ketidakmampuan para petani dalam meliputi kualitas dan kuantitas kedelai pada saat masa panen. Solusi dari masalah tersebut adalah menggunakan klasifikasi K-Nearest Neighbor untuk mendapatkan masa panen kedelai berkualitas dan berkuantitas tinggi. Algoritma dari penelitian ini menggunakan K-Nearest neighbor menggunakan pre-processing manualisasi min-max. Manualisasi diperlukan untuk menyamakan jarak antara nilai satu fitur dengan nilai fitur lainnya, pada penilitian ini akan menggunakan nilai yang hanya berjarak antara 1 sampai 0. Setelah semua nilai pada data latih maupun data uji melewati fase manualisasi, maka baru bisa masuk ke proses Klasifikasi menggunakan K-NN. Pada proes K-NN nilai dari fitur data latih akan dihitung jaraknya terhadap data uji menggunakan euclian distance, diurutkan, dan kemudian diambil sejumlah nilai K teratas. Nilai K yang akan digunakan dalam sistem ialah bernilai 5. Proses terkahir pada K-NN ialah mengambil voting untuk mendapatkan kelas baru data uji. Berdasarkan hasil pengujian yang telah dilakukan, algoritma dari sistem mendapatkan presentase keberhasilan sebesar 80% dengan nilai K paling optimal yaitu bernilai 5.
Kata kunci : Kedelai, Klasifikasi, K-Nearest
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Raihan Muhammad

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
Prosiding Seminar Informatika dan Sistem Informasi have CC-BY-NC-SA or an equivalent license as the optimal license for the publication, distribution, use, and reuse of scholarly work.
In developing strategy and setting priorities, Prosiding Seminar Informatika dan Sistem Informasi recognize that free access is better than priced access, libre access is better than free access, and libre under CC-BY-NC-SA or the equivalent is better than libre under more restrictive open licenses. We should achieve what we can when we can. We should not delay achieving free in order to achieve libre, and we should not stop with free when we can achieve libre.
Prosiding Seminar Informatika dan Sistem Informasi is licensed under a Creative Commons Attribution 4.0 International License
YOU ARE FREE TO:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms