Class TrainingDataCollection

java.lang.Object
whistleClassifier.training.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

    • TrainingDataCollection

      public TrainingDataCollection(WhistleClassifierControl whistleClassifierControl)
      Create a new training data collection - a collection of multiple TRaining data groups - one per species.
      Parameters:
      whistleClassifierControl -
      See Also:
  • Method Details

    • clearStore

      public void clearStore()
    • loadTrainingData

      public boolean loadTrainingData(WhistleClassificationParameters classifierParams, boolean subFolders, boolean useFolderNames, ProgressInformation progressInformation)
      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)
    • getSpeciesList

      public String[] getSpeciesList()
    • dumpStoreContent

      public void dumpStoreContent()