Weather plays an important role in various aspects of life, such as agriculture and transportation. However, weather prediction remains challenging because it is influenced by many complex factors. Extreme weather events, such as storms and floods, can cause significant losses, making accurate weather forecast classification systems essential. This study applies the Random Forest algorithm to improve prediction accuracy and optimizes it using Grid Search Cross Validation. The method used is CRISP-DM, consisting of six main stages. The data were obtained from the Meteorological, Climatological, and Geophysical Agency (BMKG), containing features such as temperature, humidity, wind speed, cloud cover, visibility, and wind direction, with the labels Weather Condition and Region Name serving as indicators of the classified weather category and location. The final evaluation uses a confusion matrix, yielding an accuracy of 98.84% on the training data and 95.33% on the testing data, demonstrating stable performance and strong generalization capability.
Copyrights © 2025