Class TrainingDataCollection

java.lang.Object
whistleClassifier.TrainingDataCollection

public class TrainingDataCollection extends Object
A collection of training data for multiple species.

Contains references to a list of several TrainingDataGroups (one per species)

each of which contains references to one or more TrainingDataSets (one per file / storage unit)

Author:
Doug Gillespie
See Also:
  • Constructor Details

  • Method Details

    • clearStore

      public void clearStore()
    • loadTrainingData

      public boolean loadTrainingData(String folderName, boolean subFolders, boolean useFolderNames)
      Load all the training data for all species from a given store.

      This functionality should probably be put into another abstract class so that different types of store can be used. Maniana !

      Parameters:
      trainingDataStore -
      Returns:
      true if loaded something successfully
    • getNumTrainingGroups

      public int getNumTrainingGroups()
    • getTrainingDataGroup

      public TrainingDataGroup getTrainingDataGroup(int iGroup)
    • dumpStoreContent

      public void dumpStoreContent()