public void trainClassifier(File dir,String... args) throws Exception {
  File trainingDataFile=(dir.isDirectory() ? getTrainingDataFile(dir) : dir);
  train(trainingDataFile.getPath(),args);
}

public void trainClassifier ( File dir , String ... args ) throws Exception { File trainingDataFile = ( dir . isDirectory ( ) ? getTrainingDataFile ( dir ) : dir ) ; train ( trainingDataFile . getPath ( ) , args ) ; }
train this svmtk classifier .
