Class StandardClassifier
java.lang.Object
clickTrainDetector.classification.standardClassifier.StandardClassifier
- All Implemented Interfaces:
CTClassifier
Combines the IDI, CHI2, BEARING and TEMPLATE classifier into one.
- Author:
- Jamie Macaulay
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic CTClassifierType[]The classifier types used in the standard classifier.intIt's quite complicated to keep track of the species ID for all sub classifier but just set them to 1 to check whether the classifier has passed or not,Fields inherited from interface clickTrainDetector.classification.CTClassifier
NOSPECIES, PRECLASSIFIERFLAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclassifyClickTrain(CTDataUnit clickTrain) Classify a click train detection.Get the classifiers the standard classifier uses.getName()Get the name of the classifier.Get the CT classifier params.intGet the unique species ID for the classifier.voidsetParams(CTClassifierParams ctClassifierParams) Set the classifier parameters.
-
Field Details
-
SUB_CLASSIFIER_SPECIESID
public int SUB_CLASSIFIER_SPECIESIDIt's quite complicated to keep track of the species ID for all sub classifier but just set them to 1 to check whether the classifier has passed or not, -
CLASSIFIER_TYPES
The classifier types used in the standard classifier. ****New types MUST BE ADDED HERE****
-
-
Constructor Details
-
StandardClassifier
-
-
Method Details
-
classifyClickTrain
Description copied from interface:CTClassifierClassify a click train detection.- Specified by:
classifyClickTrainin interfaceCTClassifier- Returns:
- the classified data block.
-
getName
Description copied from interface:CTClassifierGet the name of the classifier.- Specified by:
getNamein interfaceCTClassifier- Returns:
- the name of the classifier
-
getSpeciesID
public int getSpeciesID()Description copied from interface:CTClassifierGet the unique species ID for the classifier.- Specified by:
getSpeciesIDin interfaceCTClassifier- Returns:
- the name of the classifier
-
getCTClassifierGraphics
- Specified by:
getCTClassifierGraphicsin interfaceCTClassifier
-
setParams
Description copied from interface:CTClassifierSet the classifier parameters.- Specified by:
setParamsin interfaceCTClassifier- Parameters:
ctClassifierParams- - the ct classifier paratmers
-
getParams
Description copied from interface:CTClassifierGet the CT classifier params.- Specified by:
getParamsin interfaceCTClassifier- Returns:
- the CT classifier params.
-
getClassifiers
Get the classifiers the standard classifier uses. .- Returns:
- the classifiers.
-