private boolean isModelUseful(AdaBoostPerformanceMeasures wp){
  return (wp.getErrorRate() < 0.5);
}

private boolean isModelUseful ( AdaBoostPerformanceMeasures wp ) { return ( wp . getErrorRate ( ) < 0.5 ) ; }
helper method to decide whether a model improves the training error enough to be considered .
