Research Article

Self-Adaptive Prediction of Cloud Resource Demands Using Ensemble Model and Subtractive-Fuzzy Clustering Based Fuzzy Neural Network

Pseudocode 1

For prediction value series   do
  Calculate the differences of the adjacent value
End
Set   and as the threshold of fluctuation
For the differences   do
  Compare them with benchmark and
  If they are greater than   then
     is reached
  Else If they are less than   then
     is reached
End
For each type resource   do
  Compare the fluctuation degree with and
  If it is greater than   then
    Resource Demands are experiencing a fluctuation period
  Else if it is less than   then
    Resource Demands are experiencing a flat period
  Else
    Resource demands is intervenient flatness and fluctuation
End