K-Nearest Neighbor (KNN) Method for Weather Data Prediction

Penerapan Metode K-Nearest Neighbour (KNN) Untuk Prediksi Data Cuaca

Authors

  • Agata Dwi Putri Putri statistika
  • M. Al Haris Universitas Muhammadiyah Semarang
  • Fatkhurokhman Fauzi Universitas Muhammadiyah Semarang
  • Saeful Amri Universitas Muhammadiyah Semarang

DOI:

https://doi.org/10.26714/jodi.v3i1.214

Keywords:

KNN, Weather, Predictions.

Abstract

The weather tends to change frequently every day, so weather forecasts are made to be used as an early warning if sudden weather changes occur. By forecasting the weather, losses can be minimized and people are alert to carry out outdoor activities. From this problem, the K-Nearest Neighbor (KNN) method was applied. This method is expected to provide accurate and efficient information to obtain weather predictions for existing conditions. The data used is secondary data. After conducting research on training data (old data) amounting to 80% and test data (new data) amounting to 20%. The accuracy results from the testing data predictions are 75% with a value of k = 8.

Metrics

Metrics Loading ...

Downloads

Published

2025-06-30

How to Cite

Putri, A. D. P., M. Al Haris, Fauzi, F. ., & Amri, S. . (2025). K-Nearest Neighbor (KNN) Method for Weather Data Prediction: Penerapan Metode K-Nearest Neighbour (KNN) Untuk Prediksi Data Cuaca. Journal Of Data Insights, 3(1), 56–64. https://doi.org/10.26714/jodi.v3i1.214

Most read articles by the same author(s)