Organizations can use weather forecasting to help with decision-making when it comes to preventing disasters. Forecasting rain is challenging since weather conditions are always unpredictable in general. The prediction of rainfall uses a variety of methodologies, including statistical, hybrid, and physical approaches. In this research, we have implemented various machine learning models such as Logistic Regression (LR), Random Forest (RF), and Multi-Layer Perceptron (MLP) to predict the density of rainfall. This study has used Taiwan Ruiyan rainfall hourly dataset from 1998 to 2018 which contains five features like Air Pressure, Humidity, Temperature, Windspeed, and Wind Direction to predict the rainfall density such as low, medium, and heavy rainfall. The results data in this study are compared using statistical metrics like AUC, accuracy, recall, precision, and F1-score. The Random Forest, and Multi-Layer Perceptron models, had the highest accuracy scores of 0.71, accurately predicting the results. This study offers a comprehensive overview of several methods and their rainfall density predictions. By comparing these models, we can decide which one is best for predicting rainfall. The suggested work is extensively used in a variety of agriculture and civil applications, including hazard prediction, prevention, operational planning, and many more.