Classification Using Hybridized Kalman Particle Swarm Optimization Technique Accounting Essay

Abstract-Data categorization is an of import country of informations excavation. Several good known techniques such as Decision tree, Neural Network, etc. are available for this undertaking. In this paper we propose a Kalman Particle Swarm Optimized ( KPSO ) Polynomial equation for categorization for several good known informations sets. Our proposed method is derived from some of the findings of the valuable information like figure of footings, figure and combination of characteristics in each term, grade of the multinomial equation etc. of our earlier work on informations categorization utilizing Polynomial Neural Network. The KPSO optimizes these multinomial equations with a faster convergence velocity unlike PSO. The multinomial equation that gives the best public presentation is considered as the theoretical account for categorization. Our simulation consequence shows that the proposed attack is able to give competitory categorization truth compared to PNN in many datasets.

Keywords-Polynomial Neural Network, Group Methods Of Data Handling, Particle Swarm Optimization, Kalman Filter

We will write a custom essay sample on
Classification Using Hybridized Kalman Particle Swarm Optimization Technique Accounting Essay
or any similar topic only for you
Order now

1. Introduction

Different parametric and nonparametric attacks like NN, Decision tree ; SVM, etc are used extensively for pattern acknowledgment [ 1-9 ] . Quite a few attacks are at that place which produce mathematical theoretical accounts for pattern recognition/data categorization undertakings. Group Method of informations managing ( GMDH ) based Polynomial Neural Network ( PNN ) is a popular attack for germinating a short-run multinomial equation for informations categorization. The short-run multinomial equation is developed taking into history the characteristics of the informations sets as input to the PNN. The grade of the multinomials, the figure of footings in the multinomial equations and figure of characteristics and type of characteristics are determined based on algorithm used for PNN. We have investigated [ 10 ] the attack of PNN with different existent universe informations sets. Although this attack is a suited one but it involves a great trade of computational complexness in footings of clip and memory demands to germinate the multinomial equations to accomplish coveted categorization public presentation. In this paper we suggest a suited attack of developing mathematical theoretical accounts in footings of multinomial equations utilizing Kalman Particle Swarm Optimized ( KPSO ) techniques which is relatively less complex than PNN supplying competitory public presentation. The KPSO has a fast convergence clip compared to basic PSO. The KPSO is based on the rule of Extended Kalman Filtering ( EKF ) [ 11-13 ] . The grade of multinomials, figure of footings in the equation and the variables in the equation ( i.e. characteristics ) are randomly chosen in suited scopes for developing the theoretical account utilizing PSO technique. The scopes are determined from our experience of developing theoretical accounts utilizing PNN attack [ 10 ] . Our derived multinomial equations utilizing KPSO are found to be computationally less expensive and the public presentation is competitory with PNN attack. We have taken few informations sets like Iris, Diabetes etc to warrant the above.

The subdivision II describes the PNN attack and the motive for our proposed theoretical account. The basic PSO and KPSO are discussed in subdivision III. Section IV and subdivision V describe our theoretical account and simulation consequences severally. Finally decision and farther sweetenings are given in the subdivision VI.


The GMDH belongs to the class of inductive self-organisation informations driven attacks. It requires little informations samples and is able to optimise theoretical accounts ‘ construction objectively. Relationship between input -output variables can be approximated by Volterra functional series, the distinct signifier of which is Kolmogorov-Gabor Polynomial [ 14 ]

( 1 )

where denotes the coefficients or weights of the Kolmorgorov-Gabor multinomial & A ; x vector is the input variables. This multinomial can come close any stationary random sequence of observations and it can be solved by either adaptative methods or by Gaussian Normal equations. This multinomial is non computationally suited if the figure of input variables addition and there are losing observations in input dataset. Besides it takes more calculation clip to work out all necessary normal equations when the input variables are big.

A new algorithm called GMDH is developed by Ivakhnenko [ 15-16 ] which is a signifier of Kolmogorov-Gabor multinomial. He proved that a 2nd order multinomial i.e

( 2 )

which takes merely two input variables at a clip and can retrace the complete Kolmogorov-Gabor multinomial through an iterative process. The GMDH algorithm has the ability to follow all input-output relationship through an full system that is excessively complex. The GMDH-type Polynomial Neural Networks are multilayered model dwelling of the neurons/active units /Partial Descriptions ( PDs ) whose transportation map is a short- term multinomial described in equation ( 2 ) . At the first bed L=1, an algorithm, utilizing all possible combinations by two from m inputs variables, generates the first population of PDs. Entire figure of PDs in first bed is n = m ( m-1 ) /2. The end products of each PDs in bed L=1 is computed by using the equation ( 2 ) . Let the end products of first bed are denoted as.The vector of coefficients of the PDs are determined by least square appraisal attack.

The inside informations of the theoretical account developed by PNN and least square appraisal technique are explained below.

Let the input and end product informations for preparation is represented in the undermentioned mode

In general, it is expressed as

where I =1, 2, 3, aˆ¦ , N.

The input and end product relationship of the above information by PNN algorithm can be described in the undermentioned mode:

where m is the figure of characteristics in the dataset.

The architecture of a PNN with four input characteristics is shown in “ Fig. 1 ”

















Figure.1: Basic PNN Model

Number of PDs, K in each bed depends on the figure of input characteristics M as below

The input index of characteristics ( P, Q ) to each PD, may be generated utilizing the undermentioned algorithm

1. Let bed is fifty.

2. Let k=1,

3. for I =1 to Garand rifle

4. for J = i+1 to m

5. Then will have input from the characteristics

6. p=i ; & A ; q=j ;

7. k=k+1 ;

8. terminal for

9 terminal for

Let us see the equations for the first PD of layer1, which receives input from characteristic 1 and 2.

where the vitamin D vector is the mistake appraisal between the mark and the obtained end products.

This equation in general may be written as

where ( I ) i=1, 2, … , n.

( two ) j=1, 2, … , k

( three ) k=m ( m-1 ) /2

The equations for the least square are

To minimise the mistake, we get the first derived functions of in footings of all the unknown variables ( i.e. the coefficients ) .

On spread outing the above equations, we get

We know that,


, and

After obtaining the values of the coefficients with the proving dataset, we estimate the mark

If the mistake degree is non up to our coveted value, we construct following bed of PNN by taking the end product of the old bed i.e. , which is the input to following bed

and the procedure is repeated until the mistake decreases.

We have applied the PNN attack in our earlier work [ 10 ] . We have found that as the PNN beds grow the figure of PDs in each bed besides grows, which requires pruning of PDs so as to avoid the computational complexness. For illustration for a dataset with 10 characteristics, we need to bring forth about 20000 Palladiums at bed 6th even after sniping. Even so it requires big memory to implement the plan. Besides we have seen that the computational clip is big to germinate the mathematical theoretical account in signifier of multinomial equations.

PNN beds are grown based on the mistake at each degree. Classification truth at each degree is computed. We have seen that the mistake degree decreases bit by bit even up to 10th bed. However, the categorization truth is non improved much compared to layer 3rd/4th. This is due to overtraining by the chosen preparation informations size. Furthermore, the growing of the beds beyond 3rd/4th involves batch of memory demands and batch of computational clip. However obtaining a suited trade off is difficult to find, as it is non an iterative method. These findings have motivated us to develop an alternate attack of informations categorization compared to PNN and our proposed theoretical account is based on our experiences on working with PNN attack.

III. PSO rudimentss AND KPSO

An optimized solution to obtain an optimum categorization theoretical account with higher truth can be possible utilizing atom swarm optimisation technique.

Particle Swarm Optimization ( PSO )

PSO technique [ 17-18 ] is a fresh stochastic optimisation technique that has its beginning in the gesture of a flock of binds seeking for nutrient. It was a figure of atoms and is known as a drove. Each atom moves in the hunt infinite looking for the planetary lower limit or upper limit. During its flight each atom adjusts its flight by dynamically changing its speed harmonizing to its ain flying experience and the winging experience of the other atoms in the hunt infinite. The PSO attack is going really popular due to its simpleness of execution and its ability to rapidly meet to a moderately good solution.

For a atom traveling in a multidimensional hunt infinite Lashkar-e-Taiba xi, J and six, J denote the place of ith atom in so jth dimension and speed at clip T.

( 3 ) and the planetary best place is obtained as

( 4 )

The modified speed and place of each atom at clip ( t+1 ) can be calculated as

( 5 )

( 6 )

where six is the speed of ith atom at clip t+1, xi is the current place, is the inertia weight factor and are acceleration changeless, rand ( ) is an unvarying random value in the scope [ 0,1 ] , K is the bottleneck factor which is a map and given by

( 7 )


A suited subdivision of inertial weight and acceleration coefficients and is important in supplying a balance between the planetary and local hunt in the winging infinite.

A suited pick of is

( 8 )

Where itermax=maximum no. of coevalss

Iter = current figure of coevalss

The atom speed at any instant limited to a chosen Vmax, which if excessively high will ensue in leting the atoms to wing by good solutions. On the other manus if vmax is excessively little, atoms end up in local solutions merely. The acceleration factors and used in equation ( 5 ) are varied harmonizing to the undermentioned equations:

( 9 )

The acceleration factors and are varied from 2.5 to 0.5, severally to happen out the best scopes for optimal solution.

The nonsubjective map chosen for fitness rating of a population of atoms is given by

( 10 )

( B ) Kalman PSO

The Kalman PSO ( KPSO ) is a new attack to particle gesture in PSO that reduces the figure of loops required to make an optimal solution. It uses the Kalman filter algorithm to cipher the following place of each atom. The best location in the vicinity is used as an observation at each clip measure, bring forthing a new location through anticipation. The basic equations of KPSO are summarised as follows:

( 11 )

( 12 )

( 13 )

Where F and H are the passage and detector characteristic matrices, are the several covariance matrices. The value of is obtained from the observations and K is the clip. The passage and observation matrices are


and the estimated atom place and speed vector is obtained as

, with initial value as,

and I is an unit matrix of appropriate dimension.

The covariances are defined as

( 14 )


where is chosen as 0.001 and w1 depends on the size on the bounds of atom speed.

The filtered or true province of the atom is determined from a distribution

( 15 )

The place information in the KPSO algorithm is used to put the new place of the atom and the speed information is fresh except for the following loop of the Kalman update.

As with GA, PSO besides has premature convergence and therefore consequences in an inaccurate solution. To besiege this job, an alternate attack of dynamically varies the inactiveness weight indiscriminately based on the discrepancy of population fittingness. This consequences in a better local and planetary searching ability of the atoms, which improves the convergence of the speed and optimum values of co-efficient of the multinomial equations.

The inactiveness weight W is updated by happening the discrepancy of the population fittingness as

( 16 )


favg=average fittingness of the population of atoms in a given coevals.

fi=fitness of the ith atom in the population.

M=total figure of atoms

i=1, 2,3aˆ¦aˆ¦M,

In the equation given above degree Fahrenheit is normalising factor, which is used to restrict. If is big, the population will be in a random seeking manners, while for little or, the solution tends towards a premature convergence and will give the local best place of the atoms. To besiege this phenomenon and to obtain gbest solution, the inactiveness weight factor is updated as

The forgetting factor is chosen as 0.9 for faster convergence.

Another option will be


Where rand ( ) is a random figure between ( 0,1 ) .Here the influence of the past speed of a atom on the current speed is chosen to be random and the inactiveness weight is adapted indiscriminately depending on the discrepancy of the fittingness value of a population. This consequence is an optimum coordination of local and planetary searching abilities of the atoms.

IV. KALMAN Particle drove Optimized Polynomial: our proposed attack

In our proposed attack we apply KPSO techniques to germinate few multinomial equations to sort the information set. Finally, we choose a suited multinomial equation as our theoretical account for the information set under probe which gives better categorization truth.

The multinomial equation considered in our attack can be expressed in below given signifier

( 17 )


N is the figure of multinomial footings chosen indiscriminately from a suited scope

P is the figure of characteristics in each term chosen indiscriminately from the given set of characteristics for the dataset under consideration.

R is the index of characteristic a random whole number value between 1 and figure of characteristics in the several dataset.

Q is the grade of the characteristic, a random whole number value chosen from a suited scope.

Our proposed theoretical account is a mimic of the PNN theoretical account. So for obtaining the suited scopes of footings like N, P and Q, we have extensively analyzed the PNN theoretical account developed [ 10 ] .

A. Footing of finding the scope of highest grade of Polynomial equation

While developing the theoretical accounts for different informations sets utilizing the Polynomial Neural Network ( PNN ) [ 10 ] , we have observed that many of the theoretical accounts are generated with satisfactory categorization truth at the bed 3 or layer 4. Each PD in the theoretical account develops an end product equation in the signifier

where I and J takes values from the scope of 1 and figure of characteristics in the information set under survey, where I is non equal to j. And ten being the characteristic value or the end product of the PD in the old bed. We have observed that in many of the instances the competitory categorization truth are obtained at 4th bed. A biquadratic multinomial equation holding highest degree 2 is used for our PNN attack [ 10 ] .Hence in each subsequent bed it gets doubled and at 4th bed the maximal grade of the multinomial is 16.

“ Fig.2 ” describes the possible coevals of highest grade of multinomials at different beds. Sing the public presentation of PNN theoretical account [ 10 ] we have chosen the grade of multinomials in our KPSO theoretical account to be in the scope of 0 to 16.

Figure.2: Highest possible grade of any

characteristic in the PDs of different bed














B. Footing of finding the figure of footings in the multinomial equation

For building of PDs of first bed in the PNN theoretical account [ 10 ] the biquadratic multinomial equation that we have used consists of 6 footings. The 2nd bed takes two such inputs from the first bed, so the maximal figure of footings possible in bed 2 is 6*6 i.e 36. In general the maximal figure of footings that can be generated in any bed is, where cubic decimeter is the figure of bed. “ Fig.3 ” shows the possibility of coevalss of maximal figure of footings at different beds.

Max. no. of






Figure.3: Highest possible figure of footings in the multinomial equation.










However we know that if all the characteristics belong to alone classs, so coevals of maximal footings may be possible. For illustration, allow us see a, B, degree Celsius & A ; d are the four unique characteristics, so generation of multinomial of two footings generate four footings i.e.

But if we consider merely a & A ; B, it will bring forth three footings i.e.

In our PNN theoretical accounts [ 10 ] each Palladium from bed 2 onwards get inputs which are combinations of end products from PDs of 1st bed and original inputs given to layer 1. For illustration in bed 2, if the end product of one such PDs is produced by taking characteristics and i.e.

and the other input is feature, so the multinomial equation generated out of it after disregarding the coefficients is as follows.

The maximal figure of footings expected is 51 but figure of footings really generated is 15 merely. Further as we ever feed the different combinations of the same group of characteristics that is available in the dataset, the figure of multinomial footings is much less than that the upper limit is expected. From experimentations it has been revealed that depending on the size of input characteristics, a scope of 10 to 50 Numberss of multinomial footings are plenty to come close the nonlinear dataset.

C.Basis of sing the maximal figure of alone characteristics in each term of the multinomial equation.

The multinomial equation we have considered for the PNN theoretical accounts can hold at best two alone characteristics at bed 1. If layer 2 gets input from two PDs of bed 1, without any common characteristics so at bed 2 any of the multinomial footings can hold maximal 4 alone characteristics. “ Fig.4 ” shows the possibility of alone characteristics in each term up to layer 3. So if we consider our best consequence [ 10 ] within bed 4, maximal alone characteristics may be up to 16 in each multinomial term. From simulation of different datasets utilizing PNN [ 10 ] we have seen upper limit of 4 to 8 alone characteristics ( capable to handiness of characteristics in the dataset ) are adequate to come close the non-linearity of the informations sets under probe.

At layer2


At layer3


At layer1


Max. no. of

alone characteristics

Figure.3: Number of alone characteristics in each term of the multinomial equation.









After finding suited scopes for N, P, and q, we used the undermentioned algorithm to obtain the multinomial equation as our mathematical theoretical account for categorization of datasets utilizing KPSO techniques.

For sm=1 to maxSimulation

dim=random whole number between 10 to n

initialize swarmPosition, speed, pbest values.

for dm=1 to dim-1

poly ( dm,1 ) =random whole number between 1 to p

//poly is two dimensional matrix, each row represents each

term of the polynomia1, 1st place of each row shops the

figure of characteristics in each term, following foot places meant to

shop the indices of characteristics and the following foot places for the

grade of several characteristics, foot is the figure of characteristics

in the dataset.

z=2 ;

for ind=1to poly ( dm,1 )

poly ( diabetes mellitus, omega ) =random whole number between 1 to featureSize

z=z+1 ;


z=1+featureSize+1 ;

for deg=1 to poly ( dm,1 )

poly ( diabetes mellitus, omega ) =random whole number between 1 to q

z=z+1 ;


for k=1 to NoOfRecordsInDataset

z1=2 ; z2=1+features+1 ;

for j=1to poly ( dm,1 )

vitamin D ( K, diabetes mellitus ) =d ( K, diabetes mellitus ) * ( informations ( K, poly ( diabetes mellitus, z1 ) ) .^

poly ( diabetes mellitus, z2 ) ) ;

z1=z1+1 ; z2=z2+1 ;



endfor//end of dim cringle

Using values multinomial footings from matrix vitamin D and

several coefficients from the swarmPosition, measure

the multinomial equations and initialise the gbest value

for it =1 to maxIteration

update the speed and swarmPositions usingK PSO

equation. Evaluate Polynomial footings as earlier and update

pbest and gbest

endfor//end of maxIteration cringle

If current consequence is better than the old best simulation,

shop the consequence.

endfor//end of maxSimulation

V.Simulation and Consequence

We have experimented different benchmark datasets for developing the mathematical theoretical accounts utilizing KPSO attack. Here we have presented five datasets collected from UCI Repository of Machine Learning database ( see ) . A brief description of the belongingss of these dataset is presented in Table I.




























Balance Scale




The information set is divided into two parts. One portion is used for constructing the theoretical account and other portion is used for proving the theoretical account. Using the preparation dataset we develop the theoretical account and verify its public presentation taking the testing dataset. Different theoretical accounts are generated in each simulation. Using KPSO the coefficients of the multinomial equations are optimized. If a theoretical account gives better public presentation over the old best theoretical account, so it is preserved for the future mention. We have obtained competitory categorization truth for our informations sets with 1000 simulations utilizing our proposed KPSO attack.

The per centum of right categorization for each information set utilizing the PNN theoretical account [ 10 ] and our proposed theoretical account ( KPSO Model ) discussed in this paper is presented in the Table II.



% of right categorization


KPSO theoretical account













Balance Scale



The mathematical theoretical accounts two datasets are illustrated below as samples for PNN [ 10 ] and KPSO theoretical accounts.

Mathematical Model for Iris informations set:

1. Developed by PNN

2. Developed By KPSO_Polynomial


In this paper we have proposed a fresh method of form recognition/data categorization utilizing kalman atom drove optimisation technique which is faster in convergence clip and better in accuracy.. Our work is inspired from the troubles we have faced while making informations categorization utilizing Polynomial Neural Network. The mathematical theoretical accounts suggested utilizing KPSO attack is computationally less expensive compared to the theoretical account derived utilizing PNN. Our KPSO attack besides suggests demand of few Numberss features out of the all available characteristics of the investigated informations set for categorization. We have compared our consequence with the PNN theoretical account for five existent universe informations sets.. In all the instances our attack nowadayss competitory categorization truth compared to PNN attack. The mathematical theoretical account derived utilizing our attack indicates the utility of the characteristics of dataset for categorization.

As farther research, it remains to be seen how this attack behaves for the informations sets holding losing values and categorical informations.


Hi there, would you like to get such a paper? How about receiving a customized one? Check it out