Prognostication of Climate Using Sliding Window Algorithm



Similar documents
Application of Data Mining Techniques in Maximum Temperature Forecasting: A Comprehensive Literature Review

Use of Artificial Neural Network in Data Mining For Weather Forecasting

The Combination Forecasting Model of Auto Sales Based on Seasonal Index and RBF Neural Network

ANN Based Fault Classifier and Fault Locator for Double Circuit Transmission Line

FPGA Implementation of an Advanced Traffic Light Controller using Verilog HDL

A New Approach For Estimating Software Effort Using RBFN Network

Neural Network Based Forecasting of Foreign Currency Exchange Rates

Recurrent Neural Networks

EFFICIENT DATA PRE-PROCESSING FOR DATA MINING

Artificial Neural Network and Non-Linear Regression: A Comparative Study

AN APPLICATION OF TIME SERIES ANALYSIS FOR WEATHER FORECASTING

Time Series Data Mining in Rainfall Forecasting Using Artificial Neural Network

Short Term Electricity Price Forecasting Using ANN and Fuzzy Logic under Deregulated Environment

A Time Series ANN Approach for Weather Forecasting

Forecasting Of Indian Stock Market Index Using Artificial Neural Network

Supply Chain Forecasting Model Using Computational Intelligence Techniques

Price Prediction of Share Market using Artificial Neural Network (ANN)

Wireless Sensor Networks Coverage Optimization based on Improved AFSA Algorithm

Neural Networks and Support Vector Machines

SEARCH ENGINE WITH PARALLEL PROCESSING AND INCREMENTAL K-MEANS FOR FAST SEARCH AND RETRIEVAL

AUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S.

Network Traffic Prediction Based on the Wavelet Analysis and Hopfield Neural Network

A Genetic Programming Model for S&P 500 Stock Market Prediction

Keywords - Intrusion Detection System, Intrusion Prevention System, Artificial Neural Network, Multi Layer Perceptron, SYN_FLOOD, PING_FLOOD, JPCap

A New Method for Traffic Forecasting Based on the Data Mining Technology with Artificial Intelligent Algorithms

Power Prediction Analysis using Artificial Neural Network in MS Excel

Optimization of Intraday Trading Strategy Based on ACD Rules and Pivot Point System in Chinese Market

NTC Project: S01-PH10 (formerly I01-P10) 1 Forecasting Women s Apparel Sales Using Mathematical Modeling

International Journal of Computer Science Trends and Technology (IJCST) Volume 2 Issue 3, May-Jun 2014

Associate Professor, Department of CSE, Shri Vishnu Engineering College for Women, Andhra Pradesh, India 2

Fault Analysis in Software with the Data Interaction of Classes

New Pulse Width Modulation Technique for Three Phase Induction Motor Drive Umesha K L, Sri Harsha J, Capt. L. Sanjeev Kumar

The Prediction of Indian Monsoon Rainfall: A Regression Approach. Abstract

Indian Research Journal of Extension Education Special Issue (Volume I), January,

Design call center management system of e-commerce based on BP neural network and multifractal

Comparison of Supervised and Unsupervised Learning Classifiers for Travel Recommendations

Flood inundation prediction model on spatial characteristics with utilization of OLAP-based multidimensional cube information

Predictive time series analysis of stock prices using neural network classifier

SVM Based License Plate Recognition System

Jitendra Kumar Gupta 3

APPLICATION OF ARTIFICIAL NEURAL NETWORKS USING HIJRI LUNAR TRANSACTION AS EXTRACTED VARIABLES TO PREDICT STOCK TREND DIRECTION

Cash Forecasting: An Application of Artificial Neural Networks in Finance

Neural Networks in Data Mining

Method of Combining the Degrees of Similarity in Handwritten Signature Authentication Using Neural Networks

Optimizing the prediction models of the air quality state in cities

Impelling Heart Attack Prediction System using Data Mining and Artificial Neural Network

Comparison of Supervised and Unsupervised Learning Algorithms for Pattern Classification

A Robustness Simulation Method of Project Schedule based on the Monte Carlo Method

A Content based Spam Filtering Using Optical Back Propagation Technique

A survey on Data Mining based Intrusion Detection Systems

Predictive Analytics using Genetic Algorithm for Efficient Supply Chain Inventory Optimization

A Prediction Model for Taiwan Tourism Industry Stock Index

Chapter 2 The Research on Fault Diagnosis of Building Electrical System Based on RBF Neural Network

Load Frequency Control in Three Area Network with Intelligent Controllers

International Journal of Advanced Engineering Research and Applications (IJAERA) ISSN: Vol. 1, Issue 6, October Big Data and Hadoop

Neural Network Design in Cloud Computing

An Introduction to Data Mining. Big Data World. Related Fields and Disciplines. What is Data Mining? 2/12/2015

Study And Comparison Of Mobile Ad-Hoc Networks Using Ant Colony Optimization

Grid Density Clustering Algorithm

A Survey on Intrusion Detection System with Data Mining Techniques

Data quality in Accounting Information Systems

Role of Neural network in data mining

Prediction Model for Crude Oil Price Using Artificial Neural Networks

A Simple Feature Extraction Technique of a Pattern By Hopfield Network

Predict the Popularity of YouTube Videos Using Early View Data

SURVIVABILITY ANALYSIS OF PEDIATRIC LEUKAEMIC PATIENTS USING NEURAL NETWORK APPROACH

Load Balancing with Tree Parity Machine

NEURAL NETWORK FUNDAMENTALS WITH GRAPHS, ALGORITHMS, AND APPLICATIONS

An Effective Analysis of Weblog Files to improve Website Performance

How To Use Neural Networks In Data Mining

Weighted Graph Approach for Trust Reputation Management

Control Strategy for Three Phase Shunt Active Power Filter with Minimum Current Measurements

Adaptive Demand-Forecasting Approach based on Principal Components Time-series an application of data-mining technique to detection of market movement

Session 7 Bivariate Data and Analysis

A RFID Data-Cleaning Algorithm Based on Communication Information among RFID Readers

International Journal of Software and Web Sciences (IJSWS)

A Control Scheme for Industrial Robots Using Artificial Neural Networks

An Evaluation of Neural Networks Approaches used for Software Effort Estimation

Artificial Neural Networks are bio-inspired mechanisms for intelligent decision support. Artificial Neural Networks. Research Article 2014

Software Development Cost and Time Forecasting Using a High Performance Artificial Neural Network Model

Load Balancing Scheduling with Shortest Load First

Estimation of the COCOMO Model Parameters Using Genetic Algorithms for NASA Software Projects

An Analysis of Agricultural Risk and Intelligent Monitoring Technology Fantao Kong 1, a, Shiwei Xu 2,b, Shengwei Wang 3,c and Haipeng Yu 4,d

An Overview of Knowledge Discovery Database and Data mining Techniques

Anupam Tarsauliya Shoureya Kant Rahul Kala Researcher Researcher Researcher IIITM IIITM IIITM Gwalior Gwalior Gwalior

Evaluation of Machine Learning Techniques for Green Energy Prediction

Enhanced Boosted Trees Technique for Customer Churn Prediction Model

A Survey on Outlier Detection Techniques for Credit Card Fraud Detection

A Sarsa based Autonomous Stock Trading Agent

ANALYSIS OF INDIAN WEATHER DATA SETS USING DATA MINING TECHNIQUES

Holland s GA Schema Theorem

Cloud Computing for Agent-based Traffic Management Systems

Artificial Neural Network, Decision Tree and Statistical Techniques Applied for Designing and Developing Classifier

A Non-Linear Schema Theorem for Genetic Algorithms

Internet Traffic Prediction by W-Boost: Classification and Regression

Efficient Artificial Neural Network based Practical Approach of Stock Market Forecasting

A STUDY ON DATA MINING INVESTIGATING ITS METHODS, APPROACHES AND APPLICATIONS

CONTROL SYSTEMS, ROBOTICS, AND AUTOMATION - Vol. I - Basic Elements of Control Systems - Ganti Prasada Rao

Stock Data Analysis Based On Neural Network. 1Rajesh Musne, 2 Sachin Godse

Regression and Time Series Analysis of Petroleum Product Sales in Masters. Energy oil and Gas

Transcription:

, pp.225-232 http://dx.doi.org/10.14257/ijunesst.2015.8.4.21 Prognostication of Climate Using Sliding Window Algorithm D.V.N. Koteswara Rao 1, M.Anusha 2, P. Nagendra Babu 3, M. Divya Sri 4, N. Rajesh 5, K. Sandeep Kumar 6 1 Assistant Professor, Department of ECE, St.Ann s College of Engineering &Technology, Chirala, India 2 3,4,5,6 Students, Department of ECE, St.Ann s College of Engineering & Technology, Chirala, India 1 dvnkrao@gmail.com Abstract Weather forecasting is the task of determining future state of the atmosphere. To predict the future s weather condition, the variation in the conditions in past years must be utilized. The probability that the weather condition of the day in consideration will match the same day in previous year is very less. But the probability that it will match within the span of adjacent sixty days of previous year is very high. A Sliding window algorithm is emerging as a leading methodology for the application of weather prediction. So, the prediction is made based on sliding window algorithm. So, sixty days are considered for previous year a sliding window is selected of size equivalent to fifteen days. Every thirty days of sliding window is then matched with that of current year s thirty days in consideration. The best matched window is made to participate in the process of predicting weather conditions. The month wise results are being computed for four months to check the accuracy. The experimental results demonstrate that the applied technique gives better predicted weather conditions are quite efficient with an average accuracy of 94.21%. Keywords: ANN technique, fuzzy logic, sliding window algorithm, weather prediction 1. Introduction Weather is simply refer to the condition of air on earth at a given place and time. Prediction is the statement about future. Weather prediction provide critical information about future weather. There are various approaches available in weather forecasting from relatively simple observation of the sky to highly complex computerized mathematical models. The prediction of weather condition is essential for various applications. Some of them are climate monitoring, drought detection, severe weather prediction, agriculture and production, planning in energy industry, aviation industry, communication, pollution dispersal, marine, and so forth etc., [1]. Accurate prediction of weather conditions is a difficult task due to the dynamic nature of atmosphere. The weather condition at any instance may be represented by some variables like maximum temperature, minimum temperature, rain fall, snow fall, etc. The selection of variables is dependent on the location for which the prediction is to be made. The variables and their range always vary from place to place. The weather condition of any day has some relationship with the weather condition existed in the same tenure of previous year and previous thirty days. A statistical model is designed [2] that could predict the future weather conditions with the help of past data by making use of time-delayed feed forward neural network. ANNs provide a methodology for solving many types of non-linear problems that are difficult to solve by traditional techniques. Artificial neural network was combined with the genetic algorithm to get the more optimized prediction [3]. An improved technique that uses an ISSN: 2005-4246 IJUNESST Copyright c 2015 SERSC

ensemble of neural networks like multi-layered perceptron network (MLPN), Elman recurrent neural network (ERNN), radial basis function network (RBFN), Hopfield model (HFM) predictive models and regression techniques for prediction [4]. Apart from neural network Fuzzy logic has also been being used in weather prediction models. Also a fuzzy self-regression model was proposed by Lu Feng and Xuxiao Guang [5].Which makes use of the form of self-related sequence number according to observed number. The selfrelated coefficients were computed by making use of Fuzzy Logic [6]. A combined approach of neural network with Fuzzy Logic is being proposed for the weather prediction system [7]. The work has applied principle component analysis technique to the fuzzy data by making use of Auto associative neural networks. But the major shortcomings in the techniques proposed above that they utilized the previous weather conditions to predict the ones in future, but the underlying relationship that exists between previous data had not been being mathematically described and analyzed. The techniques using artificial neural networks (ANN) were only concerned with the adjustment of weights in order to get correct output from the given input. But no relationship among the data was mathematically defined. Also the ANN techniques suffered from anomalies like local minima, over fitting, and so forth. Another problem is that it is hard to decide how much training data is sufficient to adjust weights so that optimal accuracy of the predicted weather conditions can be achieved. The number of other techniques for weather forecasting that used regression with machine learning algorithms was proposed in [8,9]. But a mathematical model that could represent the relationship among previous data that could be used for prediction is still desired. A new sliding window approach for the same is being proposed in this text for weather prediction. 2. Proposed Work 2.1. Methodology There is always a slightly variation in weather conditions which may depend upon the last thirty days or so variation. Here variation refers to difference between previous day parameter and present day s parameter. In this work a methodology is being proposed that could mathematically model these dependency and utilize them to predict the future s weather conditions. To predict the day s weather conditions this work will take into account the conditions prevailing in previous thirty days, that is, in last thirty days which are assumed to be known. Also the weather condition of thirty previous days and thirty upcoming days for previous year is taken into consideration. For instance if the weather condition of 10 th October, 2013 is to be predicted then we will take into consideration the conditions from 09 th September, 2013 to 09 th October, 2013 and conditions from 09 th September, 2012 to 09 th November, 2012 for previous years. Now in order to model the aforesaid dependencies the current year s variation throughout the thirty days is being matched with those of previous years by making use of sliding window. The best-matched window is selected to mark the prediction. The selected window and the current year s thirty days variations are together used to predict the weather condition. The reason for applying sliding window matching is that the weather conditions prevailing in a year may not lie or fall on exactly the same date as they might have existed in previous years. That is why thirty previous days and thirty ongoing days are being considered. Hence a total period of sixty days is checked in previous condition to find the similar one. Sliding window is quite good technique to capture the variation that could match the current year s variation. 226 Copyright c 2015 SERSC

2.2. Sliding Window Algorithm The work proposes to predict a day s weather conditions. For this the previous thirty days weather is taken into consideration along with sixty days weather conditions of past years. Suppose we need to predict weather of 16 th November, 2014then we will take into consideration the weather conditions of 15 th October, 2014 to 15 th November, 2014 along with the weather conditions prevailing in the span of 15 th October, 2013 to 15 th December, 2013 in past years. Then the day by day variation in current year is computed. The variation is also being computed from the sixty days data of previous year. In this work the three major weather parameters will be taken into consideration, that is, maximum temperature, minimum temperature and Rainfall. Hence the size of the variation of the current year will be represented by matrix of size 30x3. And similarly for past year the matrix size would be 60x3. Now, the first step is to divide the matrix of size 60x3 into the sliding windows. Hence, 31 sliding windows can be made of size 30 x 3 each. The concept of sliding window is shown in Figure 1. The below figure 1 represents the sliding window algorithm concept for previous year fortnight consideration. But, in this paper we can implement the sliding window algorithm concept for sixty days. Now the next step is to compare every window with the current year s variation. The best matched window is selected for making the prediction. The Euclidean distance approach is used for the purpose of matching. The reason for taking Euclidean distance is its power to represent similarity in spite of its simplicity. Following are the parameters used for the weather prediction: 2.2.1. Mean: Mean of day s weather conditions, that is, maximum temperature, minimum temperature, humidity, and rainfall. After adding each separately, and divide by total day s number. Mean =Sum of parameter/ number of days, 2.2.2. Variation: Calculate day by day variation after taking difference of each parameter. This tells how the next day s Weather is related to previous day s weather. 2.2.3. Euclidean distance: It compares data variation of current year and previous year. Figure 1. Sliding Window Concept where W1 Represents Window Number 1 and W 2 represent Window Number 2R By this we are able to do mathematically model the aforesaid defined dependencies. That the relationship between previous year and previous week data is being defined mathematically can be used to predict the future conditions. The sliding window used for predicting the 3 number of weather conditions is shown in Algorithm 1. Copyright c 2015 SERSC 227

The sliding window used for predicting the n number of weather conditions (WC1, WC2, WC3,..., WCn) is shown in Algorithm 1. The main logic behind using sliding window approach is that the weather conditions prevailing at some span of day in the year might not have existed in the same span of days in previous year. For instance, the weather condition of February, 2014 might not have existed in February, in 2013. The similar weather conditions might have prevailed in previous year but not necessarily in same month but in some days. The probability of finding the similar weather conditions are maximum at the considered sixty days spam. Step 1. Take matrix CD of last thirty days for current year s data of size 30 3. Step 2. Take matrix PD of sixty days for previous year s data of size 60 3. Step 3. Make 8 sliding windows of size 30 3 each from the matrix PD as W1, W2, W3,..., W8. Step 4. Compute the Euclidean distance of each sliding window with the matrix CD as ED1, ED2, ED3,..., ED8. Step 5. Select matrix Wi as Wi= Corresponding Matrix (Min.(EDi)) i [1, 8] Step 6. Fork = 1 to n (i) For WCkcompute the variation vector for the matrix CD of size 6 1as VC. (ii) For WCkcompute the variation vector for the matrix PD of size 6 1as VP. (iii) Mean1 = Mean (VC) (iv) Mean2 = Mean (VP) (v) Predicted Variation V =(Mean1+ Mean2)/2 (vi) Add V to the previous day s weather condition in consideration to get the predicted condition. Step 7. End 3. Results and Discussions Algorithm 1 The previous algorithm is being tested against weather data for the years 2014 of the chirala city, Andhra Pradesh. The data has been taken from www.accuweather.com [10]. The algorithm has been executed and tested in Matlab2009b version. Thus, in the algorithm in consideration the previous year s data is being utilized for predicting the weather conditions. Hence, the algorithm is tested to predict weather condition for four months, that is, September, 2014-December, 2014 which is being tested against the available data. Also it can be concluded that learning approach used in the algorithm is supervised. In the test three weather conditions are taken into consideration, that is, minimum temperature, maximum temperature, and rainfall. Temperature, in general, can be measured to a higher degree of accuracy relative to any of the other weather variables. The data of these three factors are taken day wise for the previously mentioned four months. The algorithm is also being tested day wise. Figure 2 shows the variation of actual and predicted three weather conditions for 4 months in the year 2014. 228 Copyright c 2015 SERSC

Figure 2. A Graph Representing Predicated Versus Actual Three Parameters are Maximum Temperature, Minimum Temperature, Rainfall for 4 Months in the Year 2014 These graphs are clearly shows least variation among the actual and predicted weather conditions. Table 1. The Month Wise Accuracy of Predicted Weather Conditions is Being Given in the Below Accuracy of predicted data Month September 90.65 October 93.00 November 96.57 December 96.61 Table 1 The above result of weather conditions have been from an Indian city. India has a typically tropical type of weather, that is, the weather which has all varieties. The chirala city lies in the state of Andhra Pradesh. The month wise accuracy in Table 1 can be understood by the following facts. The month like August, September are considered to be the month when weather changes, that is, a phase of transition from one season to another. In the months like October, November and December are called as winter months. 4. Conclusion and Future Work The comparison of weather condition variations using sliding window approach has been found to be highly accurate except for the months of seasonal change where conditions are highly unpredictable. Since ANN techniques are very good in mapping Copyright c 2015 SERSC 229

inputs and outputs, the sliding window algorithm if incorporated with ANN could improve the results drastically even for the months of seasonal change. References [1] Y. Radhika and M. Shashi, Atmospheric temperature prediction using support vector machines, International Journal of Computer Theory and Engineering, vol. 1, no. 1, (2009), pp. 1793 8201. [2] L. L. Lai, H. Braun, Q. P. Zhang et al., Intelligent weather forecast, in Proceedings of the International Conference on Machine Learning and Cybernetics, pp. 4216 4221, Shanghai, China, (2004), August. [3] J. Gill, B. Singh, and S. Singh, Training back propagation neural networks with genetic algorithm for weather forecasting, in Proceedings of the 8th IEEE International Symposium on Intelligent Systems and Informatics (SIISY 10), (2010) September, pp. 465 469. [4] Imaranmaqsood-muhammad, Riaz khan and A. Abraham, an ensemble of neural networks for weather forecasting, an original article of springers verloglondan limited, published online at 2004. [5] L. F. Lu Feng and X. X. G. XuxiaoGuang, A forecasting model of fuzzy self-regression, Fuzzy Sets and Systems, vol. 58, no. 2, (1993), pp. 239 242. [6] T. Denoeux and M.-H. Masson, Principal component analysis of fuzzy data using auto associative neural networks, IEEE Transactions on Fuzzy Systems, vol. 12, no. 3, (2004), pp. 336 349. [7] Chao xi and Erihe, Artificial neural networks and fuzzy logic in forecasting short term temperature, attele mark university college. [8] R. Collobert and S. Bengio, SVMTorch: support vector machines for large-scale regression problems, Journal of Machine Learning Research, vol. 1, no. 2, (2001), pp. 143 160. [9] P.-S. Yu, S. -T.Chen,andI.-F.Chang, Support vector regression for real-time flood stage forecasting, Journal of Hydrology, vol. 328, no. 3-4, (2006), pp. 704 716. [10] www.accuweather.com. Authors V N Koteswara Rao Devana, he received his B.Tech. Degree in Electronics and Communication Engineering in 2004 from V.R.Siddhartha Engineering college, vijayawada, India and M.Tech. Degree in Systems & Signal Processing JNTU Hyderabad, India in 2011. He joined as a Assistant Professor in CEC, JNTUK, Chirala in 2004 and presently working at SACET, JNTUK Chirala. His research interests include Signal Processing, Image Processing, Wireless Communications. As of today, he has published seven (11) research papers in various journals and conferences. M. Anusha, she completed the B. Tech degree in Electronics and Communication Engineering in 2015 from the JNTU University, Kakinada. Her areas of interest include Signal Processing, Image Processing. She is a member of ISTE. P. Nagendra Babu, he completed the B. Tech degree in Electronics and Communication Engineering in 2015 from the JNTU University, Kakinada. His areas of interest include Signal Processing, Image Processing. He is a member of ISTE. 230 Copyright c 2015 SERSC

M. Divya Sri, she completed the B. Tech degree in Electronics and Communication Engineering in 2015 from the JNTU University, Kakinada. Her areas of interest include Signal Processing, Image Processing. He is a member of ISTE. N. Rajesh, he completed the B. Tech degree in Electronics and Communication Engineering in 2015 from the JNTU University, Kakinada. His areas of interest include Signal Processing, Image Processing. He is a member of ISTE. K. Sandeep Kumar completed the B. Tech degree in Electronics and Communication Engineering in 2015 from the JNTU University, Kakinada. His areas of interest include Signal Processing, Image Processing. He is a member of ISTE. Copyright c 2015 SERSC 231

232 Copyright c 2015 SERSC