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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataSet(TrainingDataSet trainingDataSet) getDataSet(int i) intGet the number of contours in the data group.intintgetNumFragments(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.
-