Analisis Prediksi Harga Beras Berbasis Kualitas Menggunakan Algoritma K-Nearest Neighbord

Rice is an important element in improving national food security. There are several factors that affect the price of rice, including uncertain production. This study aims to predict the price of rice in the city of Pagar Alam using the K-Nearest Neighbor (K-NN) algorithm. The data used is rice price data from 2019 to 2023 obtained from the Pagar Alam City Trade Office. The resulting classification model is evaluated for its performance using various indicators such as accuracy, precision, and recall. The research process begins with a business understanding to identify factors that affect rice prices. Furthermore, data understanding was carried out on 240 rice data samples including the attributes of year, month, production, price, and type of rice. This data is processed using the K-NN method, which involves calculating the Euclidean distance between training data and testing data and testing accuracy through split data that the K-Nearest Neighbor method is effective in predicting rice prices with an accuracy of 95%, which shows that this model has a good ability to classify rice prices accurately. This research has been successful and can help the Trade Service in making decisions regarding rice prices and be a reference for similar research in the future.

Authors

Publication Details

Journal
Jurnal Ilmiah Informatika Global
Published
2024-11-29
DOI
https://doi.org/10.36982/jiig.v15i3.4810
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analisis Prediksi Harga Beras Berbasis Kualitas Menggunakan Algoritma K-Nearest Neighbord

Dedi Setiadi, Efan
Jurnal Ilmiah Informatika Global
Data Mining and Machine Learning Applications
article

Analisis Prediksi Harga Beras Berbasis Kualitas Menggunakan Algoritma K-Nearest Neighbord

Dedi Setiadi, Efan
article en

Abstract

Rice is an important element in improving national food security. There are several factors that affect the price of rice, including uncertain production. This study aims to predict the price of rice in the city of Pagar Alam using the K-Nearest Neighbor (K-NN) algorithm. The data used is rice price data from 2019 to 2023 obtained from the Pagar Alam City Trade Office. The resulting classification model is evaluated for its performance using various indicators such as accuracy, precision, and recall. The research process begins with a business understanding to identify factors that affect rice prices. Furthermore, data understanding was carried out on 240 rice data samples including the attributes of year, month, production, price, and type of rice. This data is processed using the K-NN method, which involves calculating the Euclidean distance between training data and testing data and testing accuracy through split data that the K-Nearest Neighbor method is effective in predicting rice prices with an accuracy of 95%, which shows that this model has a good ability to classify rice prices accurately. This research has been successful and can help the Trade Service in making decisions regarding rice prices and be a reference for similar research in the future.

Jurnal Ilmiah Informatika GlobalVol. 15(3)
Openalex Percentile: Top 61%
Data Mining and Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Analisis Prediksi Harga Beras Berbasis Kualitas Menggunakan Algoritma K-Nearest Neighbord — Dedi Setiadi, Efan · Jurnal Ilmiah Informatika Global (2024) | TGRS Research Map | TGRS