Research Article

An Application of Classifier Combination Methods in Hand Gesture Recognition

Algorithm 3

The detailed steps of rotation forest method.
● Input
  A training set β„’ = { ( 𝐱 𝑖 , 𝑦 𝑖 ) } 𝑁 𝑖 = 1 = [ 𝐗 𝐘 ] ; Number of input features 𝑀 contained in each feature
   subset; A base learner 𝒲 ; Number of iterations 𝑇 ; A new data point 𝐱 to be classified.
● Training Phase
  For 𝑑 = 1 , 2 , … , 𝑇
  – Calculate the rotation matrix 𝐑 π‘Ž 𝑑 for the 𝑑 th classifier 𝐢 𝑑
    (1) Randomly split the feature set 𝐹 = { 𝑋 1 , 𝑋 2 , … , 𝑋 𝑝 } into 𝐾 subsets 𝐹 𝑑 , π‘˜ ( π‘˜ = 1 , 2 , … , 𝐾 ) .
    (2) For π‘˜ = 1 , 2 , … , 𝐾
      (a) Select the columns of 𝐗 that correspond to the attributes in 𝐹 𝑑 , π‘˜ to compose a
      submatrix 𝐗 𝑑 , π‘˜ .
       (b) Draw a bootstrap sample 𝐗 ξ…ž 𝑑 , π‘˜ (with sample size smaller than that of 𝐗 𝑑 , π‘˜ ,
     generally taken to be 75%) from 𝐗 𝑑 , π‘˜ .
      (c) Apply PCA to 𝐗 ξ…ž 𝑑 , π‘˜ to obtain a matrix 𝐃 𝑑 , π‘˜ whose 𝑖 th column consists of the
      coefficients of the 𝑖 th principal component.
     (3) EndFor
     (4) Arrange the matrices 𝐃 𝑑 , π‘˜ ( π‘˜ = 1 , 2 , … , 𝐾 ) into a block diagonal matrix 𝐑 𝑑 .
     (5) Construct the rotation matrix 𝐑 π‘Ž 𝑑 by rearranging the rows of 𝐑 𝑑 so that
     they correspond to the original features in 𝐹 .
  – Provide [ 𝐗 𝐑 π‘Ž 𝑑 𝐘 ] as the input of 𝒲 to build a classifier 𝐢 𝑑 .
  EndFor
● Output
  – The class label for 𝐱 predicted by the ensemble classifier 𝐢 βˆ— as
              𝐢 βˆ— ( 𝐱 ) = a r g m a x 𝑇 𝑦 ∈ Ξ¦ βˆ‘ 𝑑 = 1 𝐼 ( 𝐢 𝑑 ( 𝐱 𝐑 π‘Ž 𝑑 ) = 𝑦 ) .