Package whistleClassifier.training
Class TrainingDataCollection
java.lang.Object
whistleClassifier.training.TrainingDataCollection
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 Summary
ConstructorDescriptionTrainingDataCollection
(WhistleClassifierControl whistleClassifierControl) Create a new training data collection - a collection of multiple TRaining data groups - one per species. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int
String[]
getTrainingDataGroup
(int iGroup) boolean
loadTrainingData
(WhistleClassificationParameters classifierParams, boolean subFolders, boolean useFolderNames, ProgressInformation progressInformation) Load all the training data for all species from a given store.
-
Constructor Details
-
TrainingDataCollection
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
-
getSpeciesList
-
dumpStoreContent
public void dumpStoreContent()
-