Rainfall prediction using ML
Rainfall prediction using ML
Devi prasad ponnapula Teja nagendra prasad chakali Ram mohan reddy emani
99220042100 99220041148 99220041066
Computer Science and Computer Science and Computer Science and
Engineering Engineering Engineering
Kalasalingam Academy of Kalasalingam Academy of Kalasalingam Academy of
Research and Education, Research and Education, Research and Education,
Krishnankoil Krishnankoil Krishnankoil
[email protected] [email protected] [email protected]
Abstract:The Random Forest Classifier forecasts the The parameters were further fine-tuned in accordance with
rainfall using historical weather data. The continuous the MBOA for making the accuracy of the forecast better.
data of rainfalls is converted into a binary classification System approaches with a dataset of 25,919 samples achieves
of rain/no rain in order to identify the significant weather maximum prediction accuracy at 94.22% and proves to
conditions preceding probable raining. In the quest to surpass the best known existing techniques. There is real
further optimize the optimality of accuracy and scope for the application of the system in smart city
capability for generalization of this model, it divided the environments for real time applications for rainfall
preprocessed dataset into training sets and testing sets. prediction..[1]
Features that affect rainfall are found, and the
contribution of importance is visualized, so aspects can "A Rain Prediction Using Machine Learning
be understood. Along with the accuracy score, Techniques" is a research paper explaining the application of
classification report and confusion matrix offer machine learning models in rainfall prediction-Multiple
performance metrics that could be used in differentiating Linear Regression (MLR), Support Vector Regression
rainy and non-rainy days. (SVR), Lasso Regression. The authors lay huge emphasis on
This alerting system will be built in through Twilio API the fact that rainfall is nonlinear and the only way to make
in terms of SMS for predictions regarding rainfall, which accurate forecasts would, therefore, be through the
can further be included in the weather alert system. If it significance of agriculture in the long run and preventing
predicts rain, then the model would send a text to the user disastrous occurrences. The dataset used is in a range from
with a message regarding this and also ask the person to 1901 to 2015 and PCA used to reduce features. Experimental
take all the precautionary measures on time. In this results reflect that SVR performs better than MLR in dealing
model, flood monitoring may be applied in agricultural with nonlinearities and yields the most accurate predictions.
planning and, hence, could be applied for controlling [2]
disasters in that real-time rain forecasts are provided and
decisions regarding various tasks are made accordingly. In "Machine Learning Techniques for Rainfall
Future development may add more functions of adding Prediction: A Review," Parmar, Mistree, and Sompura
data and integrating with IoT sensors where data is explore techniques that are applied in machine learning for
automatically gathered. the purpose of rainfall prediction; this paper has high lighting
on the nonlinear nature of data regarding rainfall, which
Keyword's: Rainfall prediction, Random Forest poses challenges. It critiques the statistical and machine
Classifier, weather forecasting, feature importance, Twilio learning models, such as ARIMA, ANN, and SVM, and
API, SMS alert system, flood monitoring, binary remarks that ANN is especially powerful in rainfall
classification, weather data analysis, real-time forecasting as it can handle nonlinear patterns. The paper
notifications further summarizes studies in tabular form according to
accuracy and prediction attributes; it thus concludes that
I. INTRODUCTION
machine learning techniques, and particularly ANN, will be
This paper proposed an FCMM-RPS methodological promising. [3]
framework based on Fuzzy Cognitive Maps, integrating with
a modified version of butterfly optimization algorithm to Edwin Salcedo Aliaga contributed to the paper
model the FCM and then apply it as a Rainfall Prediction "Automatic System for Rainfall Monitoring and Prediction
System. That methodology involved some preprocessing of with IoT and Machine Learning" in the context of a low-cost
weather data and applied a predictive model based on FCM. IoT-based system for monitoring rainfall and related climate
data in Bolivia. Based on Arduino-style weather stations with output from the model purely analytical into actionable form
sensors for rainfall, temperature, humidity, and solar since it allows sending notifications regarding forecasted
radiation, the system sends over GSM/GPRS data to a central rainfall. It therefore makes it a useful decision-making device
web application. In terms of prediction of trends in the in agriculture and also in flood-monitoring and public safety
weather and possible usage in agriculture and disaster applications, where timely information may be crucial for
preparation, it also incorporates machine learning plans and action prevention.
specifically ARIMA. It discusses the dependency of the
system on GSM infrastructure and its plans to upgrade the
existing system. [4] II. LITERATURE SURVEY
The IoT based lava flood detection early warning Optimizing Convolutional Neural Networks for
system consists of two main subsystems which are flood Document Image Classification. The authors compare
detection and disaster communication. The flood detection models optimized for document images with models
system employs a rainfall intensity gauge, modified to optimized for natural images. In an experimental comparison
measure cold lava flows while a vibration sensor is used for of network architectures, input preprocessing, and data
detecting cold lava's presence. The obtained data is analyzed augmentation, the authors show how modifications such as
using a fuzzy decision tree to predict volcanic flood. The shear transformations, larger input sizes, and a tailored
result is then sent to concerned parties using several IoT architecture improve classification accuracy. Here, the CNN
platforms that include SMS, WhatsApp messaging, or radio achieves state-of-the-art accuracy at 91.03% on the RVL-
communication. We run the system in a practical setting on CDIP dataset. Analysis shows that CNNs trained on
Mount Merapi. The trial suggests that the system is able to document images learn spatially specific features for layout
issue the prediction and alert on time which will further elements and thereby improve the performance on
improve disaster preparedness and save lives by issuing document-based tasks. [7]
evacuation as early as possible. [5]
The paper deals with IoT-based EWS, an early warning
system to detect lava floods based on rainfall intensity and
It is a DSS for agriculture using the SMS technology to seismic activities monitoring peripherally surrounding active
update farmers about weather forecasts and agriculture volcanoes. The EWS consists of rain gauges and vibration
information. This web-based system is dedicated to farmers sensors equipped with IoT-connectivity facility for data
living in rural areas supplied with timely and relevant analysis using the Kalman filters and a fuzzy decision tree.
weather forecasts and agricultural information for better Field tests on Mount Merapi, Indonesia, have shown that
planner and decision making to increase productivity. The EWS can detect both rainfall intensities and ground
farmers may set SMS alerts for users to be notified of vibrations, giving warnings to local disaster response teams
weather changes, which will provide farmers with more via SMS texts, WhatsApp, and radio. This would mean that
important climate information that will help to boost a message could be delivered at a rapid pace in order to
agricultural output. [6] reduce the impact of such disaster events in volcanic areas.
[8]