SlideShare a Scribd company logo
INTERNATIONALComputer Engineering and Technology ENGINEERING
  International Journal of JOURNAL OF COMPUTER (IJCET), ISSN 0976-
  6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME
                            & TECHNOLOGY (IJCET)

ISSN 0976 – 6367(Print)
ISSN 0976 – 6375(Online)                                                     IJCET
Volume 4, Issue 2, March – April (2013), pp. 23-30
© IAEME: www.iaeme.com/ijcet.asp
Journal Impact Factor (2013): 6.1302 (Calculated by GISI)
                                                                         ©IAEME
www.jifactor.com




       NOVEL APPROACH FOR PREDICTING THE RISE AND FALL OF
               STOCK INDEX FOR A SPECIFIC COMPANY

                 Anirudh Prabhu1, Aldrin Rodrigues1, Chirag Chauhan1, G.Anuradha2
           1
               Student, St. Francis Institute of Technology, Borivali (West), Mumbai – 4001031
           2
               Associate Professor, St. Francis Institute of Technology, Borivali (West),
                                               Mumbai – 4001032



  ABSTRACT

          The financial market is highly fluctuating in nature. If investment strategies are not
  adequately planned and designed, it may lead to high monetary losses. There’s a high risk
  involved in stock market investment as the investment strategies are purely based on expert
  knowledge about the market conditions and some amounts of instincts.
          In our proposed method using the insight of technical analysis and the concept of
  fuzzy inference system, we try to analyse the previous buy and sell scenarios and try to
  predict whether to go for buying or selling of stocks the next day. Since the investor
  obviously wants to make profits and minimize the losses, the motivation behind this project is
  to minimize the risk involved in an investment by suggesting a profitable investment plan and
  keeping the investors away from a non-profitable deal based on extensive analysis of the
  current market trends.

  Keywords: Subtractive Clustering, Prediction, ANFIS, Stocks,

  I.     INTRODUCTION

          Stock data analysis has remained one of the challenging time series analysis problems
  over the years. Because of the complexity and instructions, the problem has received
  attention from many researchers. In this paper we attempt to predict the percentage rise and
  fall of the price of a specific stock index using a linear implementation of subtractive
  clustering, neuro-fuzzy inference systems and a novel proposed algorithm to calculate the
  contribution factor of the different clusters formed. The main strength of neuro-fuzzy

                                                 23
International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-
6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME

inference systems is that they can combine the human-like reasoning style of fuzzy systems
with the connectionist structure and learning ability of neural networks. We use subtractive
clustering because it is an easy and efficient method for automatically generating fuzzy
inference systems by detecting clusters in input-output training data. The ANFIS helps to
predict the rise and fall using previous set patterns. Using the proposed method, one can
predict the percentage rise and fall of a specific stock index. This method will be very useful
for intra-day traders as they are more interested at making small profits on a day to day basis.

II.    PREVIOUS WORK

        Vaidehi .V , et. al[1] build a prediction system to predict the future occurrence of an
event. It is a combination of a clustering algorithm and fuzzy system identification which
proves effective in improving the efficiency of the prediction. To train the prediction system,
historical data is obtained from the web. Data specific to any company stock is obtained and
is recorded. This recorded information is studied and parameters containing only the
necessary inputs to the prediction system. The subtractive clustering algorithm is used for its
computational advantages and fuzzy rules are formed using system identification technique.
        [5] Analyses stock market price prediction based on a Generic Self-Evolving Takagi-
Sugeno-Kang (GSETSK) fuzzy neural network. Stock price prediction is a problem that
requires online adaptive systems with high accuracy performance. The proposed GSETSK
framework uses a novel Multidimensional-Scaling Growing Clustering (MSGC) algorithm
which mimics the human cognitive process to flexibly generate fuzzy rules without any a
prior knowledge.
        AdemolaOlayemi (2007) mentioned that forecast performance improves when pre-
processed data is used. He has used a general pre-processing method, based on multi scale
wavelet decomposition to provide a local representation of time series data prior to the
application of fuzzy models [2].
        [7] presents an innovative approach for indicating stock market decisions that the
investor should take for minimizing the risk involved in making investments. The system
uses Adaptive Neuro-Fuzzy Inference System (ANFIS) for taking decisions based on the
values of technical indicators. Among the various technical indicators available, the system
uses weighted moving averages, divergence and RSI (Relative Strength Index).
        [3] reviews four of the most representative off-line clustering techniques: K-means
clustering, Fuzzy Cmeans clustering, Mountain clustering, and Subtractive clustering.

III.   SUBTRACTIVE CLUSTERING

        Finding similarities in data and putting similar data into groups can be done using data
clustering. Clustering partitions a data set into several groups such that the similarity within a
group is larger than that among groups [8].
        Subtractive clustering is a technique for automatically generating fuzzy inference
systems by detecting clusters in input-output training data. The measure of potential for a
data point is estimated based on the distance of this data point from all other data points.
Therefore, a data point lying in a heap of other data points will have a high chance of being a
cluster centre, while a data point which is located in an area of diffused and not concentrated
data points will have a low chance of being a cluster centre.



                                               24
International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-
6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME

         After measuring the potential of every data point, the data point with the greatest
potential value is selected as the first cluster centre. To find the next cluster centre, potentials
of data points must be revised. For each data point, an amount proportional to its distance to
the first cluster centre will be subtracted. This reduces the chance of a data point near the first
cluster being selected as the next cluster centre. After revising the potential of all data points,
the data point with the maximum potential will be selected as the next cluster centre. The
potential of data points in the first step is measured as [9]:

                             2
       n − α || x i − x j ||
pi = ∑ e                       − − > Equation 1
     j =1

Where,
             4
α =
             r2

And
      xi is the ithdata point and ra is a vector which consists of positive constants and
                                                                             r
represents the hyper sphere cluster radius in data space. The constant a is effectively the
radius defining a neighbourhood; data points outside this radius have little influence on the
potential.
        The potential which has been calculated through Equation 1 for a given point, is a
function of that point's distance to all other points, and the data point which corresponds to
                                                            *
maximum potential value is the first cluster centre. Let p1 denotes the maximum potential, if
x1* denotes the first cluster centre corresponding to p1 .
                                                       *



       n
p1 = U p i − − > Equation 2
 *

      i =1




Where      U   denotes the maximum of al1
                                            pi ' s

To revise the potential values and select the next cluster, the following formula is suggested.

                                   * 2
                    * − β || xi − x j ||
 pi = pi − p e      1                                     - - > Equation 3

Where,

         4
β=         2
        rb


                                                     25
International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-
6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME

And rb is a vector which consists of positive constants and is called the hyper sphere
                             r
penalty radius. The constant b is effectively the radius defining the neighborhood which
will have measurable reductions in potential. To avoid cluster centres being close to each
       r                      r
other, b must be greater than a . A desirable relation is as follows [9]:

rb = 1 . 5 ra − − > Equation 4

IV.      OUR CONTRIBUTION

       One of the problems with subtractive clustering is that it can perform clustering
with only two factors at a time. So, in this paper we propose a simple function/algorithm
to compute the effects and contribution more than two factors. Let us call this function as
“CF Algorithm” (Contribution Factor Algorithm). The algorithm is as follows:




        Combine the outcomes from both graphs.
      • Construct graph 1 and graph 2 as Closing price Vs Volume and High price Vs
        Low price respectively.
        Initialize cluster radius CL1 and CL2 from graphs 1 and 2 respectively and the
                 corresponding distance of current data point as d 1 and d 2 respectively.



                                              26
International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-
6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME

        Calculate initial contribution factor R0 and new contribution factor Rn as follows:

                If CL1 > CL2 then,

                               CL1
                        R0 =
                               CL2

                                    d   d 
                        R n = R0 +  1 − 2 
                                    CL CL 
                                    1    2 

                Else

                               CL2
                        R0 =
                               CL1

                                   d   d 
                        Rn = R0 +  2 − 1 
                                   CL CL 
                                   2    1 




 V.     PROPOSED APPROACH

       The paper proposes that if the following algorithm is used in the exact sequence then
 an accurate prediction of the fall and rise of the stock index can be made. The algorithm is as
 follows:

Step 1: Fix initial parameters as Closing price, Volume, High Price and Low Price.

Step 2: Obtain the historical data of the above parameters for a specific period (e.g. 5 years)
of a particular stock index.

Step 3: Map data points as Closing Price vs. Volume and High Price vs. Low Price on
different graphs.

Step 4: Perform subtractive clustering on individual graphs to get clusters and cluster centers.

Step 5: Convert the cluster into initial rules.

Step 6: Predict outcomes from individual graphs using ANFIS Modelling.

Step 7: Implement CF Algorithm.

Step 8: Stop




                                                  27
International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-
6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME




                                         28
International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-
6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME

VI.        EXAMPLE



                                      Closing Price Vs Volume
      10000000
      90000000
      80000000
      70000000
      60000000
      50000000
                                                                         Closing Price Vs Volume
      40000000
      30000000
      20000000
      10000000
               0
                   0             20          40          60        80




                                             High Vs Low
      80

      70

      60

      50

      40
                                                                                    High Vs Low
      30

      20

      10

       0
           0           10   20          30    40    50        60    70      80


Above are the graph clusters formed by 4 years of Accenture’s stock data.




                                                   29
International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-
6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME

VII.   CONCLUSION/FUTURE SCOPE

       The proposed paper aims to help intraday traders efficiently deal with the rise and fall
of specific stock index. Using the given algorithm, additional number of factors or parameters
can be added to further accurately predict progress of stocks. The algorithm used can be
improvised and improved for advance research.

VIII. REFERENCES

[1] Vaidehi .V, Monica .S, Mohamed Sheik Safeer .S, Deepika .M4, Sangeetha .S, “A
Prediction System Based on Fuzzy Logic”.
[2] NassimHomayouni and Ali Amiri, “Stock price prediction using a fusion model of
wavelet, fuzzy logic and ANN”.
[3] KhaledHammouda, “A Comparative Study of Data Clustering Techniques”.
[4] WeiYang, “Stock Price Prediction based on Fuzzy Logic”.
[5] Ngoc Nam Nguyen and Chai Quek, Member, IEEE, “Stock Price Prediction using
Generic Self-Evolving Takagi-Sugeno-Kang (GSETSK) Fuzzy Neural Network”.
[6] Akbar Esfahanipour, ParvinMardani, “An ANFIS Model for Stock Price Prediction: The
Case of Tehran Stock Exchange”.
[7] Samarth Agrawal, Manoj Jindal, G. N. Pillai, “Momentum Analysis based Stock Market
Prediction using Adaptive Neuro-Fuzzy Inference System (ANFIS)”
[8] Jang, J.-S. R., Sun, C.-T., Mizutani, E., “Neuro-Fuzzy and Soft Computing – A
Computational Approach to Learning and Machine Intelligence,” Prentice Hall.
[9] Chiu, S. L.; 1994, "Fuzzy model identification based on cluster estimation", Journal of
Intelligent and Fuzzy Systems, 2, John Wiley & Sons, pp. 267-278.
[10] K. V. Sujatha and S. Meenakshi Sundaram, “Regression, Theil’s and MLP
Forecasting Models of Stock Index” International journal of Computer Engineering &
Technology (IJCET), Volume 1, Issue 1, 2010, pp. 82 - 91, ISSN Print: 0976 – 6367,
ISSN Online: 0976 – 6375, Published by IAEME.




                                              30

More Related Content

PDF
ENTROPY-COST RATIO MAXIMIZATION MODEL FOR EFFICIENT STOCK PORTFOLIO SELECTION...
PDF
Predicting growth of urban agglomerations through fractal analysis of geo spa...
PDF
Vol 9 No 1 - January 2014
PDF
Graph Signal Processing: an interpretable framework to link neurocognitive ar...
PDF
Dynamic approach to k means clustering algorithm-2
PDF
Forecasting S&P 500 Index Using Backpropagation Neural Network Based on Princ...
PDF
Evaluating Graph Signal Processing for Neuroimaging Through Classification an...
PDF
Fault diagnosis using genetic algorithms and principal curves
ENTROPY-COST RATIO MAXIMIZATION MODEL FOR EFFICIENT STOCK PORTFOLIO SELECTION...
Predicting growth of urban agglomerations through fractal analysis of geo spa...
Vol 9 No 1 - January 2014
Graph Signal Processing: an interpretable framework to link neurocognitive ar...
Dynamic approach to k means clustering algorithm-2
Forecasting S&P 500 Index Using Backpropagation Neural Network Based on Princ...
Evaluating Graph Signal Processing for Neuroimaging Through Classification an...
Fault diagnosis using genetic algorithms and principal curves

What's hot (19)

PDF
Improved Parallel Algorithm for Time Series Based Forecasting Using OTIS-Mesh
PDF
IRJET- Novel based Stock Value Prediction Method
PDF
Fault diagnosis using genetic algorithms and
PDF
A046010107
PDF
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATION
PDF
Probabilistic Forecasting: How and Why?
PDF
Fuzzy Logic Based Parameter Adaptation of Interior Search Algorithm
PDF
50120130406046
PDF
IRJET- Artificial Algorithms Comparative Study
PDF
Preprocessing and secure computations for privacy preservation data mining
PDF
CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...
PDF
Integration of Principal Component Analysis and Support Vector Regression fo...
PDF
An Attempt to Improve Data Security in Text Based Cryptosystem Using Elliptic...
PDF
Time Delayed Recurrent Neural Network for Multi-Step Prediction
PDF
Analysis of Impact of Graph Theory in Computer Application
PDF
Improved Performance of Fuzzy Logic Algorithm for Lane Detection Images
PDF
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
PDF
KNN and ARL Based Imputation to Estimate Missing Values
PDF
Winner of EY NextWave Data Science Challenge 2019
Improved Parallel Algorithm for Time Series Based Forecasting Using OTIS-Mesh
IRJET- Novel based Stock Value Prediction Method
Fault diagnosis using genetic algorithms and
A046010107
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATION
Probabilistic Forecasting: How and Why?
Fuzzy Logic Based Parameter Adaptation of Interior Search Algorithm
50120130406046
IRJET- Artificial Algorithms Comparative Study
Preprocessing and secure computations for privacy preservation data mining
CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...
Integration of Principal Component Analysis and Support Vector Regression fo...
An Attempt to Improve Data Security in Text Based Cryptosystem Using Elliptic...
Time Delayed Recurrent Neural Network for Multi-Step Prediction
Analysis of Impact of Graph Theory in Computer Application
Improved Performance of Fuzzy Logic Algorithm for Lane Detection Images
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
KNN and ARL Based Imputation to Estimate Missing Values
Winner of EY NextWave Data Science Challenge 2019
Ad

Viewers also liked (20)

PDF
Cloud computing a new way to roll out e-governance projects in india
PDF
Ofdm mimo and v-blast algorithm-key to high speed wireless communication
PDF
Shape memory alloy as retrofitting application in historical buildings and mo...
PDF
Tabela copinha ouro
PDF
Practicas excel------ mayra
PPT
Mapa conceptual. norelis vilchez
PDF
Vilhena paulo freire
PPTX
Dan evropskih jezika
DOC
Fisiologia vegetal i curso-2012 4
DOC
Producto 4 resultados proceso de seguimiento y evaluación 21
PDF
Escola Maria Comandolli lira Rolim de Moura
PPT
PPSX
Governança de ti
PPTX
Trabajo de famas directory
PPT
Stéphane hessel la inversión humana
PPTX
Apresentação bam
PPTX
2 cga
PPTX
Presentación11
PPTX
Tecnologia
Cloud computing a new way to roll out e-governance projects in india
Ofdm mimo and v-blast algorithm-key to high speed wireless communication
Shape memory alloy as retrofitting application in historical buildings and mo...
Tabela copinha ouro
Practicas excel------ mayra
Mapa conceptual. norelis vilchez
Vilhena paulo freire
Dan evropskih jezika
Fisiologia vegetal i curso-2012 4
Producto 4 resultados proceso de seguimiento y evaluación 21
Escola Maria Comandolli lira Rolim de Moura
Governança de ti
Trabajo de famas directory
Stéphane hessel la inversión humana
Apresentação bam
2 cga
Presentación11
Tecnologia
Ad

Similar to Novel approach for predicting the rise and fall of stock index for a specific company 2 (20)

PDF
40120130405012
PDF
Regression, theil’s and mlp forecasting models of stock index
PDF
Regression, theil’s and mlp forecasting models of stock index
PDF
Regression, theil’s and mlp forecasting models of stock index
PDF
Real Estate Investment Advising Using Machine Learning
PDF
GI-ANFIS APPROACH FOR ENVISAGE HEART ATTACK DISEASE USING DATA MINING TECHNIQUES
PDF
MPSKM Algorithm to Cluster Uneven Dimensional Time Series Subspace Data
PDF
Comparison of Cost Estimation Methods using Hybrid Artificial Intelligence on...
PDF
Vol 16 No 2 - July-December 2016
PDF
20320130406022
PDF
20320130406022
PDF
EFFICIENT INDEX FOR A VERY LARGE DATASETS WITH HIGHER DIMENSION
PDF
50120130406033
PDF
Dijkstra Shortest Path Visualization
PDF
50120140504015
PDF
STOCK PRICE PREDICTION USING TIME SERIES
PDF
STOCK PRICE PREDICTION USING TIME SERIES
PDF
Visualizing and Forecasting Stocks Using Machine Learning
PDF
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...
PDF
Stock Market Prediction using Long Short-Term Memory
40120130405012
Regression, theil’s and mlp forecasting models of stock index
Regression, theil’s and mlp forecasting models of stock index
Regression, theil’s and mlp forecasting models of stock index
Real Estate Investment Advising Using Machine Learning
GI-ANFIS APPROACH FOR ENVISAGE HEART ATTACK DISEASE USING DATA MINING TECHNIQUES
MPSKM Algorithm to Cluster Uneven Dimensional Time Series Subspace Data
Comparison of Cost Estimation Methods using Hybrid Artificial Intelligence on...
Vol 16 No 2 - July-December 2016
20320130406022
20320130406022
EFFICIENT INDEX FOR A VERY LARGE DATASETS WITH HIGHER DIMENSION
50120130406033
Dijkstra Shortest Path Visualization
50120140504015
STOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIES
Visualizing and Forecasting Stocks Using Machine Learning
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...
Stock Market Prediction using Long Short-Term Memory

More from IAEME Publication (20)

PDF
IAEME_Publication_Call_for_Paper_September_2022.pdf
PDF
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
PDF
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
PDF
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
PDF
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
PDF
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
PDF
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
PDF
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
PDF
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
PDF
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
PDF
GANDHI ON NON-VIOLENT POLICE
PDF
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
PDF
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
PDF
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
PDF
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
PDF
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
PDF
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
PDF
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
PDF
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
PDF
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
IAEME_Publication_Call_for_Paper_September_2022.pdf
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
GANDHI ON NON-VIOLENT POLICE
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT

Novel approach for predicting the rise and fall of stock index for a specific company 2

  • 1. INTERNATIONALComputer Engineering and Technology ENGINEERING International Journal of JOURNAL OF COMPUTER (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME & TECHNOLOGY (IJCET) ISSN 0976 – 6367(Print) ISSN 0976 – 6375(Online) IJCET Volume 4, Issue 2, March – April (2013), pp. 23-30 © IAEME: www.iaeme.com/ijcet.asp Journal Impact Factor (2013): 6.1302 (Calculated by GISI) ©IAEME www.jifactor.com NOVEL APPROACH FOR PREDICTING THE RISE AND FALL OF STOCK INDEX FOR A SPECIFIC COMPANY Anirudh Prabhu1, Aldrin Rodrigues1, Chirag Chauhan1, G.Anuradha2 1 Student, St. Francis Institute of Technology, Borivali (West), Mumbai – 4001031 2 Associate Professor, St. Francis Institute of Technology, Borivali (West), Mumbai – 4001032 ABSTRACT The financial market is highly fluctuating in nature. If investment strategies are not adequately planned and designed, it may lead to high monetary losses. There’s a high risk involved in stock market investment as the investment strategies are purely based on expert knowledge about the market conditions and some amounts of instincts. In our proposed method using the insight of technical analysis and the concept of fuzzy inference system, we try to analyse the previous buy and sell scenarios and try to predict whether to go for buying or selling of stocks the next day. Since the investor obviously wants to make profits and minimize the losses, the motivation behind this project is to minimize the risk involved in an investment by suggesting a profitable investment plan and keeping the investors away from a non-profitable deal based on extensive analysis of the current market trends. Keywords: Subtractive Clustering, Prediction, ANFIS, Stocks, I. INTRODUCTION Stock data analysis has remained one of the challenging time series analysis problems over the years. Because of the complexity and instructions, the problem has received attention from many researchers. In this paper we attempt to predict the percentage rise and fall of the price of a specific stock index using a linear implementation of subtractive clustering, neuro-fuzzy inference systems and a novel proposed algorithm to calculate the contribution factor of the different clusters formed. The main strength of neuro-fuzzy 23
  • 2. International Journal of Computer Engineering and Technology (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME inference systems is that they can combine the human-like reasoning style of fuzzy systems with the connectionist structure and learning ability of neural networks. We use subtractive clustering because it is an easy and efficient method for automatically generating fuzzy inference systems by detecting clusters in input-output training data. The ANFIS helps to predict the rise and fall using previous set patterns. Using the proposed method, one can predict the percentage rise and fall of a specific stock index. This method will be very useful for intra-day traders as they are more interested at making small profits on a day to day basis. II. PREVIOUS WORK Vaidehi .V , et. al[1] build a prediction system to predict the future occurrence of an event. It is a combination of a clustering algorithm and fuzzy system identification which proves effective in improving the efficiency of the prediction. To train the prediction system, historical data is obtained from the web. Data specific to any company stock is obtained and is recorded. This recorded information is studied and parameters containing only the necessary inputs to the prediction system. The subtractive clustering algorithm is used for its computational advantages and fuzzy rules are formed using system identification technique. [5] Analyses stock market price prediction based on a Generic Self-Evolving Takagi- Sugeno-Kang (GSETSK) fuzzy neural network. Stock price prediction is a problem that requires online adaptive systems with high accuracy performance. The proposed GSETSK framework uses a novel Multidimensional-Scaling Growing Clustering (MSGC) algorithm which mimics the human cognitive process to flexibly generate fuzzy rules without any a prior knowledge. AdemolaOlayemi (2007) mentioned that forecast performance improves when pre- processed data is used. He has used a general pre-processing method, based on multi scale wavelet decomposition to provide a local representation of time series data prior to the application of fuzzy models [2]. [7] presents an innovative approach for indicating stock market decisions that the investor should take for minimizing the risk involved in making investments. The system uses Adaptive Neuro-Fuzzy Inference System (ANFIS) for taking decisions based on the values of technical indicators. Among the various technical indicators available, the system uses weighted moving averages, divergence and RSI (Relative Strength Index). [3] reviews four of the most representative off-line clustering techniques: K-means clustering, Fuzzy Cmeans clustering, Mountain clustering, and Subtractive clustering. III. SUBTRACTIVE CLUSTERING Finding similarities in data and putting similar data into groups can be done using data clustering. Clustering partitions a data set into several groups such that the similarity within a group is larger than that among groups [8]. Subtractive clustering is a technique for automatically generating fuzzy inference systems by detecting clusters in input-output training data. The measure of potential for a data point is estimated based on the distance of this data point from all other data points. Therefore, a data point lying in a heap of other data points will have a high chance of being a cluster centre, while a data point which is located in an area of diffused and not concentrated data points will have a low chance of being a cluster centre. 24
  • 3. International Journal of Computer Engineering and Technology (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME After measuring the potential of every data point, the data point with the greatest potential value is selected as the first cluster centre. To find the next cluster centre, potentials of data points must be revised. For each data point, an amount proportional to its distance to the first cluster centre will be subtracted. This reduces the chance of a data point near the first cluster being selected as the next cluster centre. After revising the potential of all data points, the data point with the maximum potential will be selected as the next cluster centre. The potential of data points in the first step is measured as [9]: 2 n − α || x i − x j || pi = ∑ e − − > Equation 1 j =1 Where, 4 α = r2 And xi is the ithdata point and ra is a vector which consists of positive constants and r represents the hyper sphere cluster radius in data space. The constant a is effectively the radius defining a neighbourhood; data points outside this radius have little influence on the potential. The potential which has been calculated through Equation 1 for a given point, is a function of that point's distance to all other points, and the data point which corresponds to * maximum potential value is the first cluster centre. Let p1 denotes the maximum potential, if x1* denotes the first cluster centre corresponding to p1 . * n p1 = U p i − − > Equation 2 * i =1 Where U denotes the maximum of al1 pi ' s To revise the potential values and select the next cluster, the following formula is suggested. * 2 * − β || xi − x j || pi = pi − p e 1 - - > Equation 3 Where, 4 β= 2 rb 25
  • 4. International Journal of Computer Engineering and Technology (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME And rb is a vector which consists of positive constants and is called the hyper sphere r penalty radius. The constant b is effectively the radius defining the neighborhood which will have measurable reductions in potential. To avoid cluster centres being close to each r r other, b must be greater than a . A desirable relation is as follows [9]: rb = 1 . 5 ra − − > Equation 4 IV. OUR CONTRIBUTION One of the problems with subtractive clustering is that it can perform clustering with only two factors at a time. So, in this paper we propose a simple function/algorithm to compute the effects and contribution more than two factors. Let us call this function as “CF Algorithm” (Contribution Factor Algorithm). The algorithm is as follows: Combine the outcomes from both graphs. • Construct graph 1 and graph 2 as Closing price Vs Volume and High price Vs Low price respectively. Initialize cluster radius CL1 and CL2 from graphs 1 and 2 respectively and the corresponding distance of current data point as d 1 and d 2 respectively. 26
  • 5. International Journal of Computer Engineering and Technology (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME Calculate initial contribution factor R0 and new contribution factor Rn as follows: If CL1 > CL2 then, CL1 R0 = CL2  d d  R n = R0 +  1 − 2   CL CL   1 2  Else CL2 R0 = CL1  d d  Rn = R0 +  2 − 1   CL CL   2 1  V. PROPOSED APPROACH The paper proposes that if the following algorithm is used in the exact sequence then an accurate prediction of the fall and rise of the stock index can be made. The algorithm is as follows: Step 1: Fix initial parameters as Closing price, Volume, High Price and Low Price. Step 2: Obtain the historical data of the above parameters for a specific period (e.g. 5 years) of a particular stock index. Step 3: Map data points as Closing Price vs. Volume and High Price vs. Low Price on different graphs. Step 4: Perform subtractive clustering on individual graphs to get clusters and cluster centers. Step 5: Convert the cluster into initial rules. Step 6: Predict outcomes from individual graphs using ANFIS Modelling. Step 7: Implement CF Algorithm. Step 8: Stop 27
  • 6. International Journal of Computer Engineering and Technology (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME 28
  • 7. International Journal of Computer Engineering and Technology (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME VI. EXAMPLE Closing Price Vs Volume 10000000 90000000 80000000 70000000 60000000 50000000 Closing Price Vs Volume 40000000 30000000 20000000 10000000 0 0 20 40 60 80 High Vs Low 80 70 60 50 40 High Vs Low 30 20 10 0 0 10 20 30 40 50 60 70 80 Above are the graph clusters formed by 4 years of Accenture’s stock data. 29
  • 8. International Journal of Computer Engineering and Technology (IJCET), ISSN 0976- 6367(Print), ISSN 0976 – 6375(Online) Volume 4, Issue 2, March – April (2013), © IAEME VII. CONCLUSION/FUTURE SCOPE The proposed paper aims to help intraday traders efficiently deal with the rise and fall of specific stock index. Using the given algorithm, additional number of factors or parameters can be added to further accurately predict progress of stocks. The algorithm used can be improvised and improved for advance research. VIII. REFERENCES [1] Vaidehi .V, Monica .S, Mohamed Sheik Safeer .S, Deepika .M4, Sangeetha .S, “A Prediction System Based on Fuzzy Logic”. [2] NassimHomayouni and Ali Amiri, “Stock price prediction using a fusion model of wavelet, fuzzy logic and ANN”. [3] KhaledHammouda, “A Comparative Study of Data Clustering Techniques”. [4] WeiYang, “Stock Price Prediction based on Fuzzy Logic”. [5] Ngoc Nam Nguyen and Chai Quek, Member, IEEE, “Stock Price Prediction using Generic Self-Evolving Takagi-Sugeno-Kang (GSETSK) Fuzzy Neural Network”. [6] Akbar Esfahanipour, ParvinMardani, “An ANFIS Model for Stock Price Prediction: The Case of Tehran Stock Exchange”. [7] Samarth Agrawal, Manoj Jindal, G. N. Pillai, “Momentum Analysis based Stock Market Prediction using Adaptive Neuro-Fuzzy Inference System (ANFIS)” [8] Jang, J.-S. R., Sun, C.-T., Mizutani, E., “Neuro-Fuzzy and Soft Computing – A Computational Approach to Learning and Machine Intelligence,” Prentice Hall. [9] Chiu, S. L.; 1994, "Fuzzy model identification based on cluster estimation", Journal of Intelligent and Fuzzy Systems, 2, John Wiley & Sons, pp. 267-278. [10] K. V. Sujatha and S. Meenakshi Sundaram, “Regression, Theil’s and MLP Forecasting Models of Stock Index” International journal of Computer Engineering & Technology (IJCET), Volume 1, Issue 1, 2010, pp. 82 - 91, ISSN Print: 0976 – 6367, ISSN Online: 0976 – 6375, Published by IAEME. 30