SlideShare a Scribd company logo
ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011


            Improved Parallel Algorithm for Time Series
                 Based Forecasting Using OTIS-Mesh
                                                           Ashish Gupta
                                         Department of Computer Science and Engineering
                                   Indian School of Mines , Dhanbad, Jharkhand, 826004, India
                                                  Email: ashish.parj@gmail.com

Abstract-Forecasting always plays an important role in                                       II. RELATED WORKS
business, technology and many others and it helps
organizations to increase profits, reduce lost sales and more               Many Researchers has developed parallel algorithms for
efficient production planning. A parallel algorithm for                  short term time series forecasting. Jana and sinha presented
forecasting reported recently on OTIS-Mesh[9]. This parallel             two parallel algorithms for forecasting implemented on linear
algorithm requires 5(      – 1) electronic steps and 4 optical           array and complete binary tree model[14] and require
steps. In this paper we present an improved parallel algorithm              m+1steps and (               +        steps respectively and
for time series short term forecasting using OTIS-Mesh. This
parallel algorithm requires 5(-1) electronic steps and 1 optical
                                                                         in extended case[14] it requires                           and
step using same number of I/O ports as considered in [9] and
                                                                                                steps respectively on ST array and ST
shown to be an improvement over the parallel algorithm for
time series forecasting using OTIS-Mesh [9].                             tree. Both the algorithm based on weighted moving average
                                                                         techniques. Sudhanshu and jana presented parallel algorithm
Index Terms- Time Series Forecasting, Parallel Algorithm,                for forecasting based on OTIS-Mesh Network[9]. This parallel
OTIS-Mesh.                                                               algorithm requires 5( -1) electronic moves and 4 optical
                                                                         moves[9]. In this paper we present an improved parallel
                     I. INTRODUCTION                                     algorithm for forecasting based on OTIS- Mesh network. This
    Many businesses, Organizations, get benefits through                 parallel based on weighted moving average technique and
forecasting in terms of profit increment, reduce lost sales and          requires 5( -1) electronic moves and 1 optical move. This
also it helps to make production planning more efficient.                parallel algorithm can be compared to parallel algorithm for
Forecasting plays an important role in many areas such as                forecasting as considered in [9].
weather forecasting, flood forecasting etc. Many researchers
implemented forecasting on many different interconnection                                III. FORECASTING MODELS
networks in parallel. Forecasting can also be map on OTIS
network. Optical Transpose Interconnection System (OTIS)                     Forecasting models can be divided in to Qualitative and
[1],[2] is basically a hybrid architecture which is benefits from        Quantitative forecasting models. We discuss here the time
optical and electronic connections. Optical connection is used           series models of quantitative forecasting model. Among
to connect the processors when the distance between the                  different quantitative forecasting models available for
processors exceeds the few millimetres (in other package)                successful implementation of decision making systems, time
and electronic connections are used to connect the close                 series models are very popular. In these models, given a set
processors (within the same physical package). Several                   of past observations, say d 1,d2,…,dm, the problem is to
models exploit the idea of optical and electronic connections.           estimate d(m + t) through extrapolation, where t(called the
In an OTIS-Mesh, n 2 processors are divided into n groups                lead time) is a small positive integer and usually set to 1. The
where processors in each group follow × 2D mesh layout.                  observed data values usually show different patterns, such
According to the OTIS rule , Gth group is connected to the Pth           as constant process, cyclical and linear trend as shown in
processor and Pth group is connected to the Gth processor.               Figure 2. Several models are available for time series
The Pattern of OTIS can be varied according to the                       forecasting. However, a particular model may be effective for
interconnection among the processor in the group. The                    a specific pattern of the data, e.g. simple moving average is
topology of OTIS-Mesh shown in figure 1.                                 very suitable when the data exhibits a constant process.
                                                                         Weighted moving average is a well known time series model
                                                                         for short term forecasting which is suitable when the data
                                                                         exhibits a cyclical pattern around a constant trend. Exponential
                                                                         weighted moving average is more widely accepted technique
                                                                         method for short term forecasting than the (simple) weighted
                                                                         moving average. However, our motivation to parallelize
                                                                         weighted moving average with the fact that both the
                                                                         exponential weighted moving average and the simple moving
                  Figure 1. OTIS-Mesh network                            average (MA) are the special cases of the weighted moving
© 2011 ACEEE                                                        11
DOI: 01.IJIT.01.03.519
ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011


average as will be discussed in section IV. Moreover, in order             We then vary the window size (n) to obtain the corresponding
to find the optimum value of the window size, it involves                  MSE with the newly calculated weighted moving averages.
O(m) iterations where each iteration requires O(n) time for                The same process is repeated for n = 1, 2, 3,..,m. The value of
calculating (m – n + 1) weighted moving averages for a                     n for which MSE is least is chosen for forecasting.
window size n and m data size. In this paper, we present an
                                                                           Special Cases
improved parallel algorithm for short term forecasting which
is based on weighted moving average of time series model                   A.Simple Moving Average:
and mapped on OTIS-Mesh. This algorithm is shown to be                        In this method, equal importance is given to each data
an improvement over the algorithm as considered in [9] and                 value. Hence we assign equal weight 1/n to all the data values
requires 5( “1) electronic moves + 1 OTIS move using same                  and obtain the following moving average.
number of I/O ports for m size data set and n window size
using n2 processors.
                                                                           As we have discussed in section III, this method is best
                                                                           when the data pattern shows a constant process.
                                                                           B. Exponential Moving Average:
                                                                               In this method, the more recent observations are given a
                Figure 2(a). Constant data pattern
                                                                           larger weight to face smaller error and thus the weights are
                                                                           assigned in decreasing order. The formula for exponential
                                                                           moving average is as follows



                      Figure 2(b). Trend data pattern
                                                                           where weight wi = α(1-α)n-i                       This method
                                                                           is suitable for a cyclical pattern around a constant trend and
                                                                           is widely accepted specially for business environment.
                                                                           However, the method suffers from the proper selection of the
                                                                           value of the parameter and there is no easy method to do it.
                         Figure 2(c). Cyclic data pattern
                                                                                                 V. ALGORITHM
The rest of the paper is organized as follows. Section IV
describes the methodology for time series forecasting using                    Assume  = 1. Then (m – n + 1) weighted moving aver-
weighted moving average with its special cases. In section V,              ages are obtained from equation (1) for a given window size
we present our proposed parallel algorithm. We also discuss                n along with their error term as follows
scalability issue for forecasting.

                      IV. MEHODOLOGY
   We describe here the methodology for forecasting using
weighted moving averageas given in [14]. In this method, for
a set of n data values dt, dt+1,…, dt-n+1 and a set of positive
weights w1, w2, …, wn, we calculate their weighted moving
average at time t by the following formula



Where wnwn-1wn-2,…,w10. We then use WM(t) to estimate
the forecast value (t + ) at time t + , i.e., (t+) = WM(t) . The
quality of the forecast depends on the selection of the window
size (n). Therefore, in order to find the optimum value of n, we
calculate m – n + 1 weighted averages for a specific value of
n by sliding the window over the data values and the
corresponding mean square error (MSE) is also calculated
using



© 2011 ACEEE                                                          12
DOI: 01.IJIT.01.03.519
ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011


                                                                         Step 4. /*Broadcast of weights*/
                                                                         Perform row-wise broadcast on the weights stored in step
                                                                         3 of each group in parallel and store them in W register.
For a different value of n say ni,                we require to
                                                                         Illustration 1: Content of W registers after step 4 shown in
compute different set of (m – ni + 1) weighted moving averages
                                                                         figure 5.
(as given above) for a maximum of m iterations. However, our
target is to parallelize the above computation for a single
iteration so that the overall time complexity can be
significantly reduced. The basic idea is as follows. We initially
feed the data values and the weight vector through the
boundary processors. Then using suitable electronic and
OTIS moves, they are stored in the D and W registers
respectively. Next we calculate their products for each
processor in parallel. The products are then used to form the
local sum in each group which are finally accumulated using
suitable electronic and OTIS moves to produce weighted                             Figure 5. Content of W registers after step 4
moving averages.
                                                                         Step 5.  Processors do in parallel
                                                                         Perform OTIS move on the content of W registers in each
               VI. PARALLEL ALGORITHM
                                                                         group.
    Step 1. /*Data Input*/                                               Illustration 2: Content of W registers after step 5 shown in
1.1Feed the data values di’s,                to the boundary             figure 6.
processors in the 1st column position of each group Gxy,
            as shown in Figure 3.
1.2 Feed the weights wj’s,         to the boundary processors
in the 1st processor P11 of each group Gxy,                as
shown in figure 3.




                                                                                   Figure 6. Content of W registers after step 5
                                                                         Step 6. Processors do in parallel
                                                                         Form the products with the contents of D registers and W
                                                                         registers and store it in C-register.
                                                                         Step 7. /*Perform Summation*/
                                                                         groups do steps 7.1 and 7.2 in parallel
                                                                         7.1 Sum up with the content of C register column wise and
                                                                         store it in first row processors in each group.
                                                                         7.2 Sum up with the content of W registers column wise and
                                                                         store it in first row processors in each group.
                                                                         Step 8. /*Parallel summation row wise*/
                                                                              groups do steps 8.1 and 8.2 in parallel
                                                                         8.1 Sum up with the content of C registers in first row of each
                                                                         group and store it in C registers of first processor P11 in each
                                                                         group.
                                                                         8.2 Sum up with the content of W registers in first row of
                                                                         each group and store it in first processor P11 in each group.
                                                                         Illustration 3: We store the data , weights, and products in
              Figure 3. Feeding of data and weights
                                                                         Dij, Wij and Cij registers        respectively where i indicates
Step 2. /* Data distribution into D-registers */                         register number in group and j indicates group number. Group
Shift the data values row-wise to store them in D-registers in
                                                                         numbers are organized in row major order. C registers and W
a pipeline fashion.
Step 3. /* Broadcast of weights */                                       registers of processor P11 after step 8 shown in figure 7.
Perform column-wise broadcast on the weights fed in step
1.2 in parallel and store them in W register.

© 2011 ACEEE                                                        13
DOI: 01.IJIT.01.03.519
ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011


                                                                          Scalability: Now we consider any arbitrary size of the window
                                                                          to map the above algorithm on a                   OTIS-mesh.
                                                                          In other words, we consider the case when the
                                                                          window size is independent of the number of processors. For
                                                                          the sake of simplicity and without any loss of generality, let
                                                                          us assume it to be kn. Note that in this case, the size of the
                                                                          data set will be 2kn “ 1. Accordingly the data set is also
                                                                          partition into k subsets: {d1, d2,…, dn}, {d2, d3,…,dn+1},
                                                                          …,{d2kn-n, d2kn-n+1, …, d2kn-1}. Given a subset of the data, its
Step 9. Divide the content of C register and W register and               corresponding weights, then we can partition the weight set
store it in R registers of first processor of each group Gxy,             into k subsets: {w1, w2, …, wn}, {wn+1, w2,…, w2n}…, {w(k-1)n+1,
                                                                          w(k-1)n+2, …, wkn}.weight subset is fed to the  × OTIS-mesh.
Remark 1: The final results emerge from the R- register of                We then run the above algorithm (Parallel Algorithm) and
first processor P11 in each Group (Gxy,P11)       . The                   store the result temporarily. Next we input another data subset
result after step 8 shown in table I.                                     along with the corresponding weight subset, execute Parallel
                                                                          Algorithm and update the current result with the previously
                          RESULTS                                         calculated partial result.
We describe here the time complexity required to map the                      This process is repeated k times to yield the final result.
parallel algorithm on OTIS-Mesh on n 2 processors.                        This is obvious to note that this version of the algorithm
                                                                          requires 5k( “1) electronic moves + 1k OTIS moves, which is
Time Complexity: Steps 2, 3, 4, 7, 8 requires           steps             k times more than time complexity of Parallel Algorithm.
each. Step 5 requires 1 OTIS move. Rest of the steps requires
constant time. Therefore the parallel algorithm requires
           electronic moves and 1 OTIS move.
                                                                    TABLEI.
                             CONTENT OF C REGISTERS AND W REGISTERS OF PROCESSORS P 11 OF EACH GROUP AFTER STEP 8




window size is independent of the number of processors. For               This process is repeated k times to yield the final result. This
the sake of simplicity and without any loss of generality, let            is obvious to note that this version of the algorithm requires
us assume it to be kn. Note that in this case, the size of the                           electronic moves + 1k OTIS moves, which is
data set will be 2kn -- 1. Accordingly the data set is also               k times more than time complexity of Parallel Algorithm.
partition into k subsets: {d1, d2,…, dn}, {d2, d3,…,dn+1},
…,{d2kn-n, d2kn-n+1, …, d2kn-1}. Given a subset of the data, its                                       CONCLUSIONS
corresponding weights, then we can partition the weight set
into k subsets: {w1, w2, …, wn}, {wn+1, w2,…, w2n}…, {w(k-1)n+1,             In this paper, we have presented an improved parallel
                                                                          algorithm for short term forecasting using weighted moving
w(k-1)n+2, …, wkn}.weight subset is fed to the     ×    OTIS-
                                                                          average technique. The algorithm is mapped on n 2 processor
mesh. We then run the above algorithm (Parallel Algorithm)                OTIS-Mesh. We have shown that it requires         electronic
and store the result temporarily. Next we input another data              moves + 1 OTIS move. This Parallel algorithm shown to be
subset along with the corresponding weight subset, execute                an improvement over the Parallel algorithm using same
Parallel Algorithm and update the current result with the                 number of I/O ports as considered in [9].The algorithm
previously calculated partial result.
© 2011 ACEEE                                                         14
DOI: 01.IJIT.01.03. 519
ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011


is also shown to be scalable.                                            [3]. Wang C. F. and Sahni S.,”Image processing on the OTIS-Mesh
                                                                         optoelectronic Computer,” IEEE Trans. On Parallel and Distributed
                                                                         Systems, 11, 97-109, 2000.
           COMPARATIVE RESULT ANALYSIS
                                                                         [4]. Wang C. F. and Sahni S.,. “Matrix multiplication on the OTIS-
   In Table II we compare the time complexity in terms of                Mesh optoelectronic computer,” IEEE Transactions on Computers,
electronic moves and optical moves required by the parallel              50(July 2001), 635 – 646, 2001.
algorithms mapped on OTIS-Mesh network. In our proposed                  [5]. Wang C. F. and Sahni S, “Basic operations on the OTIS-Mesh
                                                                         optoelectronic computer,” IEEE Trans. on Parallel and Distributed
algorithm, we require same time complexity in terms of
                                                                         Systems 9(Dec. 1998) 1226–1998, 1998.
electronic moves as compared to [9] but we require only 1                [6]. Wang C. F. and Sahni S, “BPC Permutations on the OTIS-
optical move.                                                            Hypercube, optoelectronic computer,” Informatica,22(3) 1998.
                              T ABLE II.                                 [7]. Jana P. K. and Sinha B. P., “An Improved Parallel Prefix
          C OMPARISON OF OTIS-MESH BASED PARALLEL ALGORITHMS             Algorithm on OTIS-Mesh,” Parallel Processing Letters, 2006, 16,
                                                                         429-440.
                                                                         [8]. Jana P. K, “Polynomial interpolation and polynomial root
                                                                         finding on OTIS-Mesh,” Parallel Computing, 32(4), 301-312, 2006.
                                                                         [9]. Sudhanshu Kumar Jha, Prasanta K. Jana, “Parallel Algorithm
                                                                         for Timeseries Based Forecasting using OTIS-Mesh,” international
                                                                         journal of Computer Application(0975-8887) 2010, Volume 1 –
                        FUTURE WORKS                                     No. 26.
                                                                         [10]. Lucas K. T. and Jana P. K., “An efficient parallel sorting
    For implementation of forecasting in parallel architecture,          algorithm on OTIS Mesh of Trees,” Proc. IEEE Intl. Advance
proper shifting of data should be done properly. So we should            Computing Conference , (6-7 March, 2009), Patiala, India, 175-
try to explore the parallel architecture for proper shifting of          180 ,2009.
data. We can also exploit the properties of OTIS based                   [11]. Lucas K. T., Mallick D. K. and Jana P. K.,. “Parallel Algorithm
networks. Therefore we should try to map time series                     for conflict graph on OTIS triangular array,” Lecture Notes in
forecasting on other OTIS based networks such as OTIS-                   Computer Science, 4904, 274-279, 2008.
Mesh Of Trees, OTIS-Hypercube etc.                                       [12]. Rajasekaran S. and Sahni S, “Randomized routing selection,
                                                                         and sorting on the OTIS-Mesh,” IEEE Transaction on Parallel and
                                                                         Distributed Systems, 9, 833-840, 1998.
                          REFERENCES
                                                                         [13]. Wheelwright S. C., and Makridakis S.,”Forecasting methods
[1]. G.C Marsden, P.J Marchand, P. Harvey and S, C, Esener,              for management,” 1980 ,John Wiley and Sons.
“Optical transpose interconnection system architecture,” Optical         [14]. Jana P. K., Sinha B. P., “Fast Parallel Algorithms for
Letters, Vol 18, No. 13,pp 1083-1085,july,1993.                          Forecasting,” Computers Math. Applic. 34(9) 39-49, 1997.
[2]. C. F. Wang and S. Sahani, “OTIS optoelectronic computers”           [15]. Nassimi, D., and Sahni, S.,. “Bitonic sort on a Mesh connected
Parallel Computation using Optical Interconnection,”K Li, Y Pan          parallel computer,” IEEE Trans. Comput. C-28(1) ,1979.
and S.Q Zhang, Eds.Khuwer Academic 1988.




© 2011 ACEEE                                                        15
DOI: 01.IJIT.01.03. 519
Ad

Recommended

PDF
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Xin-She Yang
 
PDF
Image similarity using fourier transform
IAEME Publication
 
PDF
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Xin-She Yang
 
PDF
MULTI-OBJECTIVE ENERGY EFFICIENT OPTIMIZATION ALGORITHM FOR COVERAGE CONTROL ...
ijcseit
 
PDF
Comparison of Different Methods for Fusion of Multimodal Medical Images
IRJET Journal
 
PDF
An Artificial Intelligence Approach to Ultra High Frequency Path Loss Modelli...
ijtsrd
 
PDF
Image segmentation by modified map ml estimations
ijesajournal
 
PDF
Paper id 26201482
IJRAT
 
PDF
I017425763
IOSR Journals
 
PDF
NODE FAILURE TIME ANALYSIS FOR MAXIMUM STABILITY VS MINIMUM DISTANCE SPANNING...
cscpconf
 
PDF
Node failure time analysis for maximum stability vs minimum distance spanning...
csandit
 
PDF
A PSO-Based Subtractive Data Clustering Algorithm
IJORCS
 
PDF
SVD BASED LATENT SEMANTIC INDEXING WITH USE OF THE GPU COMPUTATIONS
ijscmcj
 
PDF
ijrrest_vol-2_issue-2_013
Ashish Gupta
 
PDF
Improved probabilistic distance based locality preserving projections method ...
IJECEIAES
 
PDF
Feed forward neural network for sine
ijcsa
 
PDF
Multi fractal analysis of human brain mr image
eSAT Publishing House
 
PDF
Multi fractal analysis of human brain mr image
eSAT Journals
 
PDF
Data clustering using kernel based
IJITCA Journal
 
PDF
Long-Term Robust Tracking Whith on Failure Recovery
TELKOMNIKA JOURNAL
 
PDF
Colour Image Segmentation Using Soft Rough Fuzzy-C-Means and Multi Class SVM
ijcisjournal
 
PDF
Kernel based similarity estimation and real time tracking of moving
IAEME Publication
 
PDF
Application of Bayes Compressed Sensing in Image rocessing
IJRESJOURNAL
 
PDF
USE OF ADAPTIVE COLOURED PETRI NETWORK IN SUPPORT OF DECISIONMAKING
csandit
 
PDF
JACT 5-3_Christakis
Vasilis Barbaris
 
PDF
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
AM Publications,India
 
PDF
Supporting Geo-Ontology Engineering through Spatial Data Analytics
Irene Celino
 
PPTX
Innovative approaches for fashion retailers to tackle returns, Vicky Brock, C...
Vicky Brock
 
PPTX
Retail Retold: Omnichannel & IoT
Predrag Jakovljevic
 
PPTX
Clear returns segmenting shoppers workshop
Vicky Brock
 

More Related Content

What's hot (18)

PDF
I017425763
IOSR Journals
 
PDF
NODE FAILURE TIME ANALYSIS FOR MAXIMUM STABILITY VS MINIMUM DISTANCE SPANNING...
cscpconf
 
PDF
Node failure time analysis for maximum stability vs minimum distance spanning...
csandit
 
PDF
A PSO-Based Subtractive Data Clustering Algorithm
IJORCS
 
PDF
SVD BASED LATENT SEMANTIC INDEXING WITH USE OF THE GPU COMPUTATIONS
ijscmcj
 
PDF
ijrrest_vol-2_issue-2_013
Ashish Gupta
 
PDF
Improved probabilistic distance based locality preserving projections method ...
IJECEIAES
 
PDF
Feed forward neural network for sine
ijcsa
 
PDF
Multi fractal analysis of human brain mr image
eSAT Publishing House
 
PDF
Multi fractal analysis of human brain mr image
eSAT Journals
 
PDF
Data clustering using kernel based
IJITCA Journal
 
PDF
Long-Term Robust Tracking Whith on Failure Recovery
TELKOMNIKA JOURNAL
 
PDF
Colour Image Segmentation Using Soft Rough Fuzzy-C-Means and Multi Class SVM
ijcisjournal
 
PDF
Kernel based similarity estimation and real time tracking of moving
IAEME Publication
 
PDF
Application of Bayes Compressed Sensing in Image rocessing
IJRESJOURNAL
 
PDF
USE OF ADAPTIVE COLOURED PETRI NETWORK IN SUPPORT OF DECISIONMAKING
csandit
 
PDF
JACT 5-3_Christakis
Vasilis Barbaris
 
PDF
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
AM Publications,India
 
I017425763
IOSR Journals
 
NODE FAILURE TIME ANALYSIS FOR MAXIMUM STABILITY VS MINIMUM DISTANCE SPANNING...
cscpconf
 
Node failure time analysis for maximum stability vs minimum distance spanning...
csandit
 
A PSO-Based Subtractive Data Clustering Algorithm
IJORCS
 
SVD BASED LATENT SEMANTIC INDEXING WITH USE OF THE GPU COMPUTATIONS
ijscmcj
 
ijrrest_vol-2_issue-2_013
Ashish Gupta
 
Improved probabilistic distance based locality preserving projections method ...
IJECEIAES
 
Feed forward neural network for sine
ijcsa
 
Multi fractal analysis of human brain mr image
eSAT Publishing House
 
Multi fractal analysis of human brain mr image
eSAT Journals
 
Data clustering using kernel based
IJITCA Journal
 
Long-Term Robust Tracking Whith on Failure Recovery
TELKOMNIKA JOURNAL
 
Colour Image Segmentation Using Soft Rough Fuzzy-C-Means and Multi Class SVM
ijcisjournal
 
Kernel based similarity estimation and real time tracking of moving
IAEME Publication
 
Application of Bayes Compressed Sensing in Image rocessing
IJRESJOURNAL
 
USE OF ADAPTIVE COLOURED PETRI NETWORK IN SUPPORT OF DECISIONMAKING
csandit
 
JACT 5-3_Christakis
Vasilis Barbaris
 
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
AM Publications,India
 

Viewers also liked (19)

PDF
Supporting Geo-Ontology Engineering through Spatial Data Analytics
Irene Celino
 
PPTX
Innovative approaches for fashion retailers to tackle returns, Vicky Brock, C...
Vicky Brock
 
PPTX
Retail Retold: Omnichannel & IoT
Predrag Jakovljevic
 
PPTX
Clear returns segmenting shoppers workshop
Vicky Brock
 
PPTX
Clear Returns talks data and the battle between IT & Marketing at Harvey Nash...
Vicky Brock
 
PPTX
Reverse Logistics - The least used tool by retailers to create a competitive ...
Peter Sobotta
 
PDF
Exploratory Spatial Analytics (ESA)
Stig-Arne Kristoffersen
 
PPTX
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...
Safe Software
 
PPTX
Diet Related Disease Trends in Hawaii, the US, and Globally
Elise Dela Cruz-Talbert
 
PPTX
Decision Based Location Analytics | Qonnections 2016
QlikMaps
 
PDF
Predictive data and analytics for real commercial impact
Vicky Brock
 
PPTX
Measuring Socio-spatial inequities to retail food access in Hawaii
Elise Dela Cruz-Talbert
 
PDF
Location analytics by Marc Planaguma at Big Data Spain 2014
Big Data Spain
 
PDF
Realising IoT in Retail and Beyond
Oliver Guy
 
PDF
Mapping an effective location intelligence strategy
The Marketing Distillery
 
PPTX
Analytic Journeys from Predictive Analytics World
Decision Management Solutions
 
PPTX
Clear Returns: reducing ecommerce returns by Vicky Brock at IMRG May 14
Vicky Brock
 
PPTX
Retail Trends for 2016 & Beyond
Oliver Guy
 
Supporting Geo-Ontology Engineering through Spatial Data Analytics
Irene Celino
 
Innovative approaches for fashion retailers to tackle returns, Vicky Brock, C...
Vicky Brock
 
Retail Retold: Omnichannel & IoT
Predrag Jakovljevic
 
Clear returns segmenting shoppers workshop
Vicky Brock
 
Clear Returns talks data and the battle between IT & Marketing at Harvey Nash...
Vicky Brock
 
Reverse Logistics - The least used tool by retailers to create a competitive ...
Peter Sobotta
 
Exploratory Spatial Analytics (ESA)
Stig-Arne Kristoffersen
 
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...
Safe Software
 
Diet Related Disease Trends in Hawaii, the US, and Globally
Elise Dela Cruz-Talbert
 
Decision Based Location Analytics | Qonnections 2016
QlikMaps
 
Predictive data and analytics for real commercial impact
Vicky Brock
 
Measuring Socio-spatial inequities to retail food access in Hawaii
Elise Dela Cruz-Talbert
 
Location analytics by Marc Planaguma at Big Data Spain 2014
Big Data Spain
 
Realising IoT in Retail and Beyond
Oliver Guy
 
Mapping an effective location intelligence strategy
The Marketing Distillery
 
Analytic Journeys from Predictive Analytics World
Decision Management Solutions
 
Clear Returns: reducing ecommerce returns by Vicky Brock at IMRG May 14
Vicky Brock
 
Retail Trends for 2016 & Beyond
Oliver Guy
 
Ad

Similar to Improved Parallel Algorithm for Time Series Based Forecasting Using OTIS-Mesh (20)

PDF
Short Term Load Forecasting Using Bootstrap Aggregating Based Ensemble Artifi...
Kashif Mehmood
 
PDF
Application Of Extreme Value Theory To Bursts Prediction
CSCJournals
 
PDF
Ijciet 10 01_153-2
IAEME Publication
 
PDF
Levenberg marquardt-algorithm-for-karachi-stock-exchange-share-rates-forecast...
Cemal Ardil
 
PDF
50120140504015
IAEME Publication
 
PDF
Survey on Artificial Neural Network Learning Technique Algorithms
IRJET Journal
 
PDF
Forecasting of electric consumption in a semiconductor plant using time serie...
Alexander Decker
 
PDF
proposal_pura
Erick Lin
 
PDF
COMPARING THE IMPACT OF MOBILE NODES ARRIVAL PATTERNS IN MANETS USING POISSON...
ijwmn
 
PDF
NEURAL NETWORK FOR THE RELIABILITY ANALYSIS OF A SERIES - PARALLEL SYSTEM SUB...
IAEME Publication
 
PDF
0505.pdf
TadiyosHailemichael
 
PDF
Security based Clock Synchronization technique in Wireless Sensor Network for...
iosrjce
 
PDF
B017370915
IOSR Journals
 
PDF
A Time Series ANN Approach for Weather Forecasting
ijctcm
 
PDF
20320140501002
IAEME Publication
 
PDF
OPTIMIZED TASK ALLOCATION IN SENSOR NETWORKS
Zac Darcy
 
PDF
Short Term Load Forecasting: One Week (With & Without Weekend) Using Artifici...
IJLT EMAS
 
PDF
Short Term Electrical Load Forecasting by Artificial Neural Network
IJERA Editor
 
PDF
FAST ALGORITHMS FOR UNSUPERVISED LEARNING IN LARGE DATA SETS
csandit
 
PDF
Optimal neural network models for wind speed prediction
IAEME Publication
 
Short Term Load Forecasting Using Bootstrap Aggregating Based Ensemble Artifi...
Kashif Mehmood
 
Application Of Extreme Value Theory To Bursts Prediction
CSCJournals
 
Ijciet 10 01_153-2
IAEME Publication
 
Levenberg marquardt-algorithm-for-karachi-stock-exchange-share-rates-forecast...
Cemal Ardil
 
50120140504015
IAEME Publication
 
Survey on Artificial Neural Network Learning Technique Algorithms
IRJET Journal
 
Forecasting of electric consumption in a semiconductor plant using time serie...
Alexander Decker
 
proposal_pura
Erick Lin
 
COMPARING THE IMPACT OF MOBILE NODES ARRIVAL PATTERNS IN MANETS USING POISSON...
ijwmn
 
NEURAL NETWORK FOR THE RELIABILITY ANALYSIS OF A SERIES - PARALLEL SYSTEM SUB...
IAEME Publication
 
Security based Clock Synchronization technique in Wireless Sensor Network for...
iosrjce
 
B017370915
IOSR Journals
 
A Time Series ANN Approach for Weather Forecasting
ijctcm
 
20320140501002
IAEME Publication
 
OPTIMIZED TASK ALLOCATION IN SENSOR NETWORKS
Zac Darcy
 
Short Term Load Forecasting: One Week (With & Without Weekend) Using Artifici...
IJLT EMAS
 
Short Term Electrical Load Forecasting by Artificial Neural Network
IJERA Editor
 
FAST ALGORITHMS FOR UNSUPERVISED LEARNING IN LARGE DATA SETS
csandit
 
Optimal neural network models for wind speed prediction
IAEME Publication
 
Ad

More from IDES Editor (20)

PDF
Power System State Estimation - A Review
IDES Editor
 
PDF
Artificial Intelligence Technique based Reactive Power Planning Incorporating...
IDES Editor
 
PDF
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...
IDES Editor
 
PDF
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...
IDES Editor
 
PDF
Line Losses in the 14-Bus Power System Network using UPFC
IDES Editor
 
PDF
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...
IDES Editor
 
PDF
Assessing Uncertainty of Pushover Analysis to Geometric Modeling
IDES Editor
 
PDF
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...
IDES Editor
 
PDF
Selfish Node Isolation & Incentivation using Progressive Thresholds
IDES Editor
 
PDF
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...
IDES Editor
 
PDF
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...
IDES Editor
 
PDF
Cloud Security and Data Integrity with Client Accountability Framework
IDES Editor
 
PDF
Genetic Algorithm based Layered Detection and Defense of HTTP Botnet
IDES Editor
 
PDF
Enhancing Data Storage Security in Cloud Computing Through Steganography
IDES Editor
 
PDF
Low Energy Routing for WSN’s
IDES Editor
 
PDF
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...
IDES Editor
 
PDF
Rotman Lens Performance Analysis
IDES Editor
 
PDF
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
IDES Editor
 
PDF
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...
IDES Editor
 
PDF
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...
IDES Editor
 
Power System State Estimation - A Review
IDES Editor
 
Artificial Intelligence Technique based Reactive Power Planning Incorporating...
IDES Editor
 
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...
IDES Editor
 
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...
IDES Editor
 
Line Losses in the 14-Bus Power System Network using UPFC
IDES Editor
 
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...
IDES Editor
 
Assessing Uncertainty of Pushover Analysis to Geometric Modeling
IDES Editor
 
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...
IDES Editor
 
Selfish Node Isolation & Incentivation using Progressive Thresholds
IDES Editor
 
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...
IDES Editor
 
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...
IDES Editor
 
Cloud Security and Data Integrity with Client Accountability Framework
IDES Editor
 
Genetic Algorithm based Layered Detection and Defense of HTTP Botnet
IDES Editor
 
Enhancing Data Storage Security in Cloud Computing Through Steganography
IDES Editor
 
Low Energy Routing for WSN’s
IDES Editor
 
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...
IDES Editor
 
Rotman Lens Performance Analysis
IDES Editor
 
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
IDES Editor
 
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...
IDES Editor
 
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...
IDES Editor
 

Recently uploaded (20)

PDF
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PPTX
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PPTX
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
PDF
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
PDF
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PPTX
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
PPTX
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
PDF
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
PDF
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
PDF
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
PDF
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
PDF
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
PDF
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
PDF
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
PDF
The Growing Value and Application of FME & GenAI
Safe Software
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
The Growing Value and Application of FME & GenAI
Safe Software
 

Improved Parallel Algorithm for Time Series Based Forecasting Using OTIS-Mesh

  • 1. ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011 Improved Parallel Algorithm for Time Series Based Forecasting Using OTIS-Mesh Ashish Gupta Department of Computer Science and Engineering Indian School of Mines , Dhanbad, Jharkhand, 826004, India Email: [email protected] Abstract-Forecasting always plays an important role in II. RELATED WORKS business, technology and many others and it helps organizations to increase profits, reduce lost sales and more Many Researchers has developed parallel algorithms for efficient production planning. A parallel algorithm for short term time series forecasting. Jana and sinha presented forecasting reported recently on OTIS-Mesh[9]. This parallel two parallel algorithms for forecasting implemented on linear algorithm requires 5( – 1) electronic steps and 4 optical array and complete binary tree model[14] and require steps. In this paper we present an improved parallel algorithm m+1steps and ( + steps respectively and for time series short term forecasting using OTIS-Mesh. This parallel algorithm requires 5(-1) electronic steps and 1 optical in extended case[14] it requires and step using same number of I/O ports as considered in [9] and steps respectively on ST array and ST shown to be an improvement over the parallel algorithm for time series forecasting using OTIS-Mesh [9]. tree. Both the algorithm based on weighted moving average techniques. Sudhanshu and jana presented parallel algorithm Index Terms- Time Series Forecasting, Parallel Algorithm, for forecasting based on OTIS-Mesh Network[9]. This parallel OTIS-Mesh. algorithm requires 5( -1) electronic moves and 4 optical moves[9]. In this paper we present an improved parallel I. INTRODUCTION algorithm for forecasting based on OTIS- Mesh network. This Many businesses, Organizations, get benefits through parallel based on weighted moving average technique and forecasting in terms of profit increment, reduce lost sales and requires 5( -1) electronic moves and 1 optical move. This also it helps to make production planning more efficient. parallel algorithm can be compared to parallel algorithm for Forecasting plays an important role in many areas such as forecasting as considered in [9]. weather forecasting, flood forecasting etc. Many researchers implemented forecasting on many different interconnection III. FORECASTING MODELS networks in parallel. Forecasting can also be map on OTIS network. Optical Transpose Interconnection System (OTIS) Forecasting models can be divided in to Qualitative and [1],[2] is basically a hybrid architecture which is benefits from Quantitative forecasting models. We discuss here the time optical and electronic connections. Optical connection is used series models of quantitative forecasting model. Among to connect the processors when the distance between the different quantitative forecasting models available for processors exceeds the few millimetres (in other package) successful implementation of decision making systems, time and electronic connections are used to connect the close series models are very popular. In these models, given a set processors (within the same physical package). Several of past observations, say d 1,d2,…,dm, the problem is to models exploit the idea of optical and electronic connections. estimate d(m + t) through extrapolation, where t(called the In an OTIS-Mesh, n 2 processors are divided into n groups lead time) is a small positive integer and usually set to 1. The where processors in each group follow × 2D mesh layout. observed data values usually show different patterns, such According to the OTIS rule , Gth group is connected to the Pth as constant process, cyclical and linear trend as shown in processor and Pth group is connected to the Gth processor. Figure 2. Several models are available for time series The Pattern of OTIS can be varied according to the forecasting. However, a particular model may be effective for interconnection among the processor in the group. The a specific pattern of the data, e.g. simple moving average is topology of OTIS-Mesh shown in figure 1. very suitable when the data exhibits a constant process. Weighted moving average is a well known time series model for short term forecasting which is suitable when the data exhibits a cyclical pattern around a constant trend. Exponential weighted moving average is more widely accepted technique method for short term forecasting than the (simple) weighted moving average. However, our motivation to parallelize weighted moving average with the fact that both the exponential weighted moving average and the simple moving Figure 1. OTIS-Mesh network average (MA) are the special cases of the weighted moving © 2011 ACEEE 11 DOI: 01.IJIT.01.03.519
  • 2. ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011 average as will be discussed in section IV. Moreover, in order We then vary the window size (n) to obtain the corresponding to find the optimum value of the window size, it involves MSE with the newly calculated weighted moving averages. O(m) iterations where each iteration requires O(n) time for The same process is repeated for n = 1, 2, 3,..,m. The value of calculating (m – n + 1) weighted moving averages for a n for which MSE is least is chosen for forecasting. window size n and m data size. In this paper, we present an Special Cases improved parallel algorithm for short term forecasting which is based on weighted moving average of time series model A.Simple Moving Average: and mapped on OTIS-Mesh. This algorithm is shown to be In this method, equal importance is given to each data an improvement over the algorithm as considered in [9] and value. Hence we assign equal weight 1/n to all the data values requires 5( “1) electronic moves + 1 OTIS move using same and obtain the following moving average. number of I/O ports for m size data set and n window size using n2 processors. As we have discussed in section III, this method is best when the data pattern shows a constant process. B. Exponential Moving Average: In this method, the more recent observations are given a Figure 2(a). Constant data pattern larger weight to face smaller error and thus the weights are assigned in decreasing order. The formula for exponential moving average is as follows Figure 2(b). Trend data pattern where weight wi = α(1-α)n-i This method is suitable for a cyclical pattern around a constant trend and is widely accepted specially for business environment. However, the method suffers from the proper selection of the value of the parameter and there is no easy method to do it. Figure 2(c). Cyclic data pattern V. ALGORITHM The rest of the paper is organized as follows. Section IV describes the methodology for time series forecasting using Assume  = 1. Then (m – n + 1) weighted moving aver- weighted moving average with its special cases. In section V, ages are obtained from equation (1) for a given window size we present our proposed parallel algorithm. We also discuss n along with their error term as follows scalability issue for forecasting. IV. MEHODOLOGY We describe here the methodology for forecasting using weighted moving averageas given in [14]. In this method, for a set of n data values dt, dt+1,…, dt-n+1 and a set of positive weights w1, w2, …, wn, we calculate their weighted moving average at time t by the following formula Where wnwn-1wn-2,…,w10. We then use WM(t) to estimate the forecast value (t + ) at time t + , i.e., (t+) = WM(t) . The quality of the forecast depends on the selection of the window size (n). Therefore, in order to find the optimum value of n, we calculate m – n + 1 weighted averages for a specific value of n by sliding the window over the data values and the corresponding mean square error (MSE) is also calculated using © 2011 ACEEE 12 DOI: 01.IJIT.01.03.519
  • 3. ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011 Step 4. /*Broadcast of weights*/ Perform row-wise broadcast on the weights stored in step 3 of each group in parallel and store them in W register. For a different value of n say ni, we require to Illustration 1: Content of W registers after step 4 shown in compute different set of (m – ni + 1) weighted moving averages figure 5. (as given above) for a maximum of m iterations. However, our target is to parallelize the above computation for a single iteration so that the overall time complexity can be significantly reduced. The basic idea is as follows. We initially feed the data values and the weight vector through the boundary processors. Then using suitable electronic and OTIS moves, they are stored in the D and W registers respectively. Next we calculate their products for each processor in parallel. The products are then used to form the local sum in each group which are finally accumulated using suitable electronic and OTIS moves to produce weighted Figure 5. Content of W registers after step 4 moving averages. Step 5.  Processors do in parallel Perform OTIS move on the content of W registers in each VI. PARALLEL ALGORITHM group. Step 1. /*Data Input*/ Illustration 2: Content of W registers after step 5 shown in 1.1Feed the data values di’s, to the boundary figure 6. processors in the 1st column position of each group Gxy, as shown in Figure 3. 1.2 Feed the weights wj’s, to the boundary processors in the 1st processor P11 of each group Gxy, as shown in figure 3. Figure 6. Content of W registers after step 5 Step 6. Processors do in parallel Form the products with the contents of D registers and W registers and store it in C-register. Step 7. /*Perform Summation*/ groups do steps 7.1 and 7.2 in parallel 7.1 Sum up with the content of C register column wise and store it in first row processors in each group. 7.2 Sum up with the content of W registers column wise and store it in first row processors in each group. Step 8. /*Parallel summation row wise*/ groups do steps 8.1 and 8.2 in parallel 8.1 Sum up with the content of C registers in first row of each group and store it in C registers of first processor P11 in each group. 8.2 Sum up with the content of W registers in first row of each group and store it in first processor P11 in each group. Illustration 3: We store the data , weights, and products in Figure 3. Feeding of data and weights Dij, Wij and Cij registers respectively where i indicates Step 2. /* Data distribution into D-registers */ register number in group and j indicates group number. Group Shift the data values row-wise to store them in D-registers in numbers are organized in row major order. C registers and W a pipeline fashion. Step 3. /* Broadcast of weights */ registers of processor P11 after step 8 shown in figure 7. Perform column-wise broadcast on the weights fed in step 1.2 in parallel and store them in W register. © 2011 ACEEE 13 DOI: 01.IJIT.01.03.519
  • 4. ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011 Scalability: Now we consider any arbitrary size of the window to map the above algorithm on a OTIS-mesh. In other words, we consider the case when the window size is independent of the number of processors. For the sake of simplicity and without any loss of generality, let us assume it to be kn. Note that in this case, the size of the data set will be 2kn “ 1. Accordingly the data set is also partition into k subsets: {d1, d2,…, dn}, {d2, d3,…,dn+1}, …,{d2kn-n, d2kn-n+1, …, d2kn-1}. Given a subset of the data, its Step 9. Divide the content of C register and W register and corresponding weights, then we can partition the weight set store it in R registers of first processor of each group Gxy, into k subsets: {w1, w2, …, wn}, {wn+1, w2,…, w2n}…, {w(k-1)n+1, w(k-1)n+2, …, wkn}.weight subset is fed to the × OTIS-mesh. Remark 1: The final results emerge from the R- register of We then run the above algorithm (Parallel Algorithm) and first processor P11 in each Group (Gxy,P11) . The store the result temporarily. Next we input another data subset result after step 8 shown in table I. along with the corresponding weight subset, execute Parallel Algorithm and update the current result with the previously RESULTS calculated partial result. We describe here the time complexity required to map the This process is repeated k times to yield the final result. parallel algorithm on OTIS-Mesh on n 2 processors. This is obvious to note that this version of the algorithm requires 5k( “1) electronic moves + 1k OTIS moves, which is Time Complexity: Steps 2, 3, 4, 7, 8 requires steps k times more than time complexity of Parallel Algorithm. each. Step 5 requires 1 OTIS move. Rest of the steps requires constant time. Therefore the parallel algorithm requires electronic moves and 1 OTIS move. TABLEI. CONTENT OF C REGISTERS AND W REGISTERS OF PROCESSORS P 11 OF EACH GROUP AFTER STEP 8 window size is independent of the number of processors. For This process is repeated k times to yield the final result. This the sake of simplicity and without any loss of generality, let is obvious to note that this version of the algorithm requires us assume it to be kn. Note that in this case, the size of the electronic moves + 1k OTIS moves, which is data set will be 2kn -- 1. Accordingly the data set is also k times more than time complexity of Parallel Algorithm. partition into k subsets: {d1, d2,…, dn}, {d2, d3,…,dn+1}, …,{d2kn-n, d2kn-n+1, …, d2kn-1}. Given a subset of the data, its CONCLUSIONS corresponding weights, then we can partition the weight set into k subsets: {w1, w2, …, wn}, {wn+1, w2,…, w2n}…, {w(k-1)n+1, In this paper, we have presented an improved parallel algorithm for short term forecasting using weighted moving w(k-1)n+2, …, wkn}.weight subset is fed to the × OTIS- average technique. The algorithm is mapped on n 2 processor mesh. We then run the above algorithm (Parallel Algorithm) OTIS-Mesh. We have shown that it requires electronic and store the result temporarily. Next we input another data moves + 1 OTIS move. This Parallel algorithm shown to be subset along with the corresponding weight subset, execute an improvement over the Parallel algorithm using same Parallel Algorithm and update the current result with the number of I/O ports as considered in [9].The algorithm previously calculated partial result. © 2011 ACEEE 14 DOI: 01.IJIT.01.03. 519
  • 5. ACEEE Int. J. on Information Technology, Vol. 01, No. 03, Dec 2011 is also shown to be scalable. [3]. Wang C. F. and Sahni S.,”Image processing on the OTIS-Mesh optoelectronic Computer,” IEEE Trans. On Parallel and Distributed Systems, 11, 97-109, 2000. COMPARATIVE RESULT ANALYSIS [4]. Wang C. F. and Sahni S.,. “Matrix multiplication on the OTIS- In Table II we compare the time complexity in terms of Mesh optoelectronic computer,” IEEE Transactions on Computers, electronic moves and optical moves required by the parallel 50(July 2001), 635 – 646, 2001. algorithms mapped on OTIS-Mesh network. In our proposed [5]. Wang C. F. and Sahni S, “Basic operations on the OTIS-Mesh optoelectronic computer,” IEEE Trans. on Parallel and Distributed algorithm, we require same time complexity in terms of Systems 9(Dec. 1998) 1226–1998, 1998. electronic moves as compared to [9] but we require only 1 [6]. Wang C. F. and Sahni S, “BPC Permutations on the OTIS- optical move. Hypercube, optoelectronic computer,” Informatica,22(3) 1998. T ABLE II. [7]. Jana P. K. and Sinha B. P., “An Improved Parallel Prefix C OMPARISON OF OTIS-MESH BASED PARALLEL ALGORITHMS Algorithm on OTIS-Mesh,” Parallel Processing Letters, 2006, 16, 429-440. [8]. Jana P. K, “Polynomial interpolation and polynomial root finding on OTIS-Mesh,” Parallel Computing, 32(4), 301-312, 2006. [9]. Sudhanshu Kumar Jha, Prasanta K. Jana, “Parallel Algorithm for Timeseries Based Forecasting using OTIS-Mesh,” international journal of Computer Application(0975-8887) 2010, Volume 1 – FUTURE WORKS No. 26. [10]. Lucas K. T. and Jana P. K., “An efficient parallel sorting For implementation of forecasting in parallel architecture, algorithm on OTIS Mesh of Trees,” Proc. IEEE Intl. Advance proper shifting of data should be done properly. So we should Computing Conference , (6-7 March, 2009), Patiala, India, 175- try to explore the parallel architecture for proper shifting of 180 ,2009. data. We can also exploit the properties of OTIS based [11]. Lucas K. T., Mallick D. K. and Jana P. K.,. “Parallel Algorithm networks. Therefore we should try to map time series for conflict graph on OTIS triangular array,” Lecture Notes in forecasting on other OTIS based networks such as OTIS- Computer Science, 4904, 274-279, 2008. Mesh Of Trees, OTIS-Hypercube etc. [12]. Rajasekaran S. and Sahni S, “Randomized routing selection, and sorting on the OTIS-Mesh,” IEEE Transaction on Parallel and Distributed Systems, 9, 833-840, 1998. REFERENCES [13]. Wheelwright S. C., and Makridakis S.,”Forecasting methods [1]. G.C Marsden, P.J Marchand, P. Harvey and S, C, Esener, for management,” 1980 ,John Wiley and Sons. “Optical transpose interconnection system architecture,” Optical [14]. Jana P. K., Sinha B. P., “Fast Parallel Algorithms for Letters, Vol 18, No. 13,pp 1083-1085,july,1993. Forecasting,” Computers Math. Applic. 34(9) 39-49, 1997. [2]. C. F. Wang and S. Sahani, “OTIS optoelectronic computers” [15]. Nassimi, D., and Sahni, S.,. “Bitonic sort on a Mesh connected Parallel Computation using Optical Interconnection,”K Li, Y Pan parallel computer,” IEEE Trans. Comput. C-28(1) ,1979. and S.Q Zhang, Eds.Khuwer Academic 1988. © 2011 ACEEE 15 DOI: 01.IJIT.01.03. 519