Package rocca

Class RoccaTrainClassifier

java.lang.Object
rocca.RoccaTrainClassifier

public class RoccaTrainClassifier extends Object
Single-stage classifier creation. Dataset must be a WEKA-formatted arff file, with the correct species in the last column. Input and output filenames are hard-coded below and must be changed accordingly. This is a standalone program that does not run out of Pamguard.
Author:
Michael Oswald
  • Constructor Details

    • RoccaTrainClassifier

      public RoccaTrainClassifier()
  • Method Details

    • main

      public static void main(String[] args)
      Standalone implementation
      Parameters:
      args -
    • getArff

      public File getArff()
      Let user choose arff file training dataset
      Returns:
      File the arff file containing the training dataset
    • trainClassifier

      public String trainClassifier(File arffFile)
      Actual code to train the classifier