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
Modifier and TypeFieldDescriptionstatic CTClassifierType[]
The classifier types used in the standard classifier.int
It'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
-
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.int
Get the unique species ID for the classifier.void
setParams
(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:CTClassifier
Classify a click train detection.- Specified by:
classifyClickTrain
in interfaceCTClassifier
- Returns:
- the classified data block.
-
getName
Description copied from interface:CTClassifier
Get the name of the classifier.- Specified by:
getName
in interfaceCTClassifier
- Returns:
- the name of the classifier
-
getSpeciesID
public int getSpeciesID()Description copied from interface:CTClassifier
Get the unique species ID for the classifier.- Specified by:
getSpeciesID
in interfaceCTClassifier
- Returns:
- the name of the classifier
-
getCTClassifierGraphics
- Specified by:
getCTClassifierGraphics
in interfaceCTClassifier
-
setParams
Description copied from interface:CTClassifier
Set the classifier parameters.- Specified by:
setParams
in interfaceCTClassifier
- Parameters:
ctClassifierParams
- - the ct classifier paratmers
-
getParams
Description copied from interface:CTClassifier
Get the CT classifier params.- Specified by:
getParams
in interfaceCTClassifier
- Returns:
- the CT classifier params.
-
getClassifiers
Get the classifiers the standard classifier uses. .- Returns:
- the classifiers.
-