Procedure AccuracyEVFDT(, , , )
BEGIN
 IF ()
  
 ELSE-IF ()
  
  FOR ()
    
    Increment
    
  END-FOR
 ELSE // Calculate mean difference of without
  FOR ()
    
    Increment
    
  END-FOR
   // Updated Threshold
  Let be the position of “” in sorted list
    PrunedMean =
  IF (PrunedMean ≤ )
  THEN
    Add in sorted list
    
  ELSE
    Discard as it is outlier
    
Return PrunedMean
END
Algorithm 4: EVFDT procedure: accuracy EVFDT.