@Override public void performRequest(String request){
  if (request.compareTo("Stop") == 0) {
    stop();
  }
 else   if (request.compareTo("Save model") == 0) {
    saveModel();
  }
 else   if (request.compareTo("Load model") == 0) {
    loadModel();
  }
 else {
    throw new IllegalArgumentException(request + " not supported (Classifier)");
  }
}

@ Override public void performRequest ( String request ) { if ( request . compareTo ( "Stop" ) == 0 ) { stop ( ) ; } else if ( request . compareTo ( "Save model" ) == 0 ) { saveModel ( ) ; } else if ( request . compareTo ( "Load model" ) == 0 ) { loadModel ( ) ; } else { throw new IllegalArgumentException ( request + " not supported (Classifier)" ) ; } }
perform a particular request
