GRD Journals- Global Research and Development Journal for Engineering | Volume 4 | Issue 10 | September 2019 ISSN: 2455-5703
Statistical Model and Neural Networks based Weather Forecasting A. Velayudham Department of Computer Science and Engineering Jansons Institute of Technology
M. S. Krishna Priya Department of Computer Science and Engineering Jansons Institute of Technology
Abstract Weather conditions change endlessly and it is very essential for people to know these changes and predict the weather in order to decide there day to day task. A person may confuse prediction with the forecast, the main difference is forecast is statistical and scientific and free from intuitions whereas prediction is subjective in nature. Traditionally atmosphere is modeled as fluid. And future weather is predicted using fluid dynamics and thermodynamics, but since machine learning techniques are more robust to perturbations, so in this paper we have decided to explore its application to weather forecasting to generate more accurate result. This paper discusses various methods used in deep neural networks and statistical models to find the most appropriate method for forecasting weather based on a very minimalistic weather related data set to reduce data collection overheads. It also outlines an IOT based pipeline to collect data in real time to update existing models and forecast accordingly. Keywords- Deep Neural Networks, Statistical Models, Minimalistic Weather Data, IoT, Pipeline, Weather Forecasting, Prediction, Atmosphere
I. INTRODUCTION Weather forecasting can be defined as the process of predicting the state of atmosphere at a particular time in future for a specified location. Traditionally we used to model the atmosphere as fluid. And future weather is predicted using fluid dynamics and thermodynamics, but the problem is weather depends on various factors and these traditional models are not robust enough to perturbations and are hence less accurate and are unable to make predictions of a long period. Machine learning techniques changed this process completely and made more accurate reliable predictions as they are more robust to perturbations. Initially major weather forecasting agencies were using machine learning as their primary analytics tool but were unable to predict weather over a long time period. A more suitable approach towards such data’s analysis came with the rise of deep neural networks which is being used at a very high scale these days. The paper discusses and evaluates various prominently used machine learning and deep learning models e.g. ridge regression model, Support Vector Regression, ARIMA time series model, Holt Winters model and LSTM Recurrent Neural Network model to predict the average temperature, based on a very minimalistic data set comprising of maximum temperature and minimum temperature of previous day. The historical weather data was collected for New Delhi from National Oceanic and Atmospheric Administration. The input to these models was the historical weather data of last 3 years of average temperature, maximum temperature and minimum temperature, and the output was the prediction of average temperature of next 1 year.
II. METHODOLOGY A. Linear Regression Model Linear regression is a linear approach to model the relationship between a dependent variable and one or more than one independent variables. Linear regression models uses the least squares approach for fitting purpose but when the problem has substantial uncertainties in the independent variable (the x variable), then linear regression and least-squares methods have problems. The linear regression model is in the form –
Where x0 is min temp and x1 is max temperature. To speed up the calculation we can use Ordinary least squares using following equation –
Here X is 2xN matrix having each column as features min temp and max temp. For unbiased result an estimator is used whereas,
All rights reserved by www.grdjournals.com
6