Rainfall Prediction Using Machine Learning Algorithms A Comparative Analysis Approach
Rainfall Prediction Using Machine Learning Algorithms A Comparative Analysis Approach
ISSN No:-2456-2165
Abstract:- Rainfall prognosis is one of the most important of both life and possessions. LSTM and ConvNet
technique to anticipate the climatic conditions across Architectures are used to anticipate the monthly average
globe. Heavy Rainfall is a major issue for meteorological rainfall. There are so many models are there to predict the
department as it is closely connected to the economy and rain fall but the models will take more time and they not
life of human beings. It is a source for natural disasters provide satisfactory predictions.
like flood and drought which are encountered by people
across the globe every year. Prompt and explicit
predictions can assist proactively reduce human and
financial loss.
I. INTODUCTION
IJISRT22JUN203 www.ijisrt.com 1
Volume 7, Issue 6, June – 2022 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
Fig. 2: Proposed System Architecture for Rainfall Prediction Fig. 3: Algorithm for Rainfall Prediction
IV. METHODOLOGY The data which we have been collected will undergo for
the cleaning process. We perform splitting of the input data
In this, the study examines the use of machine learning into training and testing datasets with a desired ratio by using
in the prediction of rainfall to specifications status based on a powerful python module named Scikit-learn.
data produced. The model achieved best accuracy of using
Linear Regression. The training and testing dataset were Machine learning algorithms are evaluated using the
performed by the system from Scikit-learn module. train-test split process when they are used to generate
predictions on data that was not used to train the algorithm.
Precipitation is predicted using a predictive model. A You may differentiate the performance of different machine
good examination of the data and observation of variations in learning algorithms for the predictive modeling issue. If you
the patterns of rainfall are the initial steps in this process. have a tiny dataset or if further setup is necessary (such as if
Datasets are separated into training and testing sets before the dataset is not balanced), you should not utilize the
different machine learning and statistical techniques are technique.
applied to estimate the amount of rain. Innumerable
techniques are used to reduce the mistake. V. OUTCOMES AND DISCUSSIONS
Techniques utilized in the production of this work This paper shows the study about the results that are
include: By applying an equation to collected information, obtained by performing the above method and how they are
multiple linear regression attempts to describe the transformed by using the AI architecture.
relationship between two or more parameters and a given
answer. As far as I can see, it's nothing new than an extension
of a simple regression toward the mean.
IJISRT22JUN203 www.ijisrt.com 2
Volume 7, Issue 6, June – 2022 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
After successfully uploading the dataset we can observe
the visual format of the Dataset. The Data set consist of
States, Year, Months, Annual Rainfall.
To preprocess and predict the result, primarily it is Fig. 8: Encoding & Splitting
required to need to Upload the data set in csv format.
The above shown figure is performing encodings and
splitting of dataset using Scikit-learn. As the encoding and
splitting will be performed by using a powerful Scikit-learn
module.
IJISRT22JUN203 www.ijisrt.com 3
Volume 7, Issue 6, June – 2022 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
[4.] Aswin S, Geetha P and Vinayakumar R, “Deep
Learning Models for the Prediction of Rainfall”,
International Conference on Communication and Signal
Processing, April 3-5, 2018, India, pp. 0657-0661.
[5.] Xianggen Gan, Lihong Chen, Dongbao Yang, Guang
Liu, “The Research of Rainfall Prediction Models
Based on Matlab Neural Network”, Proceedings of
IEEE CCIS2011, pp. 45- 48.
[6.] Sam Cramer, Michael Kampouridis, Alex A. Freitas and
Antonis Alexandridis, “Predicting Rainfall in the
Context of Rainfall Derivatives Using Genetic
Programming”, 2015 IEEE Symposium Series on
Computational Intelligence, pp. 711 – 718.
[7.] Mohini P. Darji, Vipul K. Dabhi, Harshadkumar B.
Prajapati, “Rainfall Forecasting Using Neural Network:
Fig. 10: Model Predictions
A Survey”, 2015 International Conference on Advances
The above shown figure is for performing in Computer Engineering and Applications (ICACEA)
predictions to get the required output from the given inputs. IMS Engineering College, Ghaziabad, India, pp.706 –
713
VI. CONCLUSION [8.] Sandeep Kumar Mohapatra, Anamika Upadhyay,
Channabasava Gola, “Rainfall Prediction based on 100
The estimation of rainfall is foremost for water resource years of Meteorological Data”,2017 International
management, human life and environment. It also plays vital Conference on Computing and Communication
role in agriculture production. The development of the Technologies for smart Nation, pp.162 – 166.
agriculture products is based on the amount of the rainfall So, [9.] Sankhadeep Chatterjee, Bimal Datta, Soumya Sen,
it is required to anticipate the rainfall to assist farmers in Nilanjan Dey, “Rainfall Prediction using Hybrid Neural
agriculture field. Network Approach”, 2018 2nd International Conference
on Recent Advances in Signal Processing,
The proposed methodology presented in this paper Telecommunications & Computing (SigTelCom), pp.
predicts the annual density of rainfall for the Indian dataset 67 – 72.
with regarding to multiple linear regression, random forest [10.] KangWoon Hong, Taegyu Kang “A study on Rainfall
regression, KNN regression and provides upgraded results in Prediction Based on meterological TimeSeries”, 2021
terms of accuracy score in training and testing wise, MSE twelfth International Conference on ubiquitous and
and correlation. The R2 Score for Linear Regression, Future Networks (IUFN)
Random Forest and KNN Algorithms are 0.98, 0.96 and 0.97
respectively. The Mean Squared Error (MSE) for Linear
Regression, Random Forest and KNN Algorithms are
8000.45, 39383.4 and 33456.5 respectively.
REFERENCES
IJISRT22JUN203 www.ijisrt.com 4