Research Article

Ensemble Deep Learning for Biomedical Time Series Classification

Algorithm 1

Pseudocode of explicit training.
Algorithm]: Explicit Training
Input]: Training Samples ,  , Validation Samples ,  
Output]: An DNN Model
Begin
 Best = 0
while (!StopCondition)
  dW =                 //Initialize the weight changes
  for    to  
    = LocalViewTransform(, rand)      //Perform the local view transformation (start from a random position)
    = DistortedViewTransform(, rand)   //Perform the distorted view transformation with high probability
   dW = dW + BackPropagation(, )      //Invoke Backpropagation and accumulate
   if ( %   == 0)                // training samples have been presented to the network
    UpdateNN(dW)               //Adjust the weights
    dW =
    Matrix =               //Initialize the confusion matrix
    for    to  
      = LocalViewTransform(, fixed) //Perform the local view transformation (start from a particular position)
     Matrix = Matrix + Test(, )  //Test the current DNN model
    end
    if (Performance(Matrix) > Best)
     Best = Performance(Matrix)
     SaveNN(Model)
    end
   end
  end
end
End