Package whistleClassifier
Class TrainingDataGroup
java.lang.Object
whistleClassifier.TrainingDataGroup
A group of training data from a single species
Basically a list of TrainingDataSet objects
- Author:
- Doug Gillespie
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataSet
(TrainingDataSet trainingDataSet) getDataSet
(int i) int
Get the number of contours in the data group.int
int
getNumFragments
(WhistleFragmenter fragmenter, int fragLen) Get the number of fragments based on the fragment lengthtoString()
-
Constructor Details
-
TrainingDataGroup
-
-
Method Details
-
addDataSet
-
getNumDataSets
public int getNumDataSets() -
getDataSet
-
getNumContours
public int getNumContours()Get the number of contours in the data group.- Returns:
- number of contours.
-
toString
-
getNumFragments
Get the number of fragments based on the fragment length- Parameters:
fragLen
- length of each fragment- Returns:
- number of fragments.
-