COMPARISON OF K-NEAREST NEIGHBORS AND NAIVE BAYES ALGORITHM FOR WEATHER FORECAST
Weather is an atmospheric condition that occurs at a certain time and place. Weather isvery influential in daily life. For example for agriculture, farmers usually plant corn during therainy season. That’s why accurate weather predictions are needed. Weather prediction is a wayto know the future weather using science and technology.To be able to know the weather in the future, certain datasets and algorithms are needed. The algorithm used is Naïve Bayes and K-Nearest Neighbors Both are included in the classification of data mining which aims to group data into a certain category by reading the previous data.The result of this research is to find out which algorithm is better for weather forecast, between Naïve Bayes and K-Nearest Neighbors. Confusion Matrix is a method to determine the performance results of an algorithm. So that it can be known which algorithm is better in terms of accuracy, precision, recall, and F1 score
Authors
- Hironimus Leong
- Teguh Iman Santoso
Institutions
- Soegijapranata Catholic University (ID)
Publication Details
- Journal
- Proxies Jurnal Informatika
- Published
- 2024-08-29
- DOI
- https://doi.org/10.24167/proxies.v6i2.12460
- Primary Topic
- Data Mining and Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00