Class TemplateClassification
java.lang.Object
clickTrainDetector.classification.templateClassifier.TemplateClassification
- All Implemented Interfaces:
 CTClassification
Classification result for the template classifier.
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
ConstructorsConstructorDescriptionTemplateClassification(int speciesID, double correlationVal) The template classification.TemplateClassification(String jsonstring) Create the classification from a JSON string - 
Method Summary
Modifier and TypeMethodDescriptionThe classifier typedoubleThe correlation value.Get string logging for the classifier.intGet the species ID for the classifier.Get summary string for classifiers.static void 
- 
Constructor Details
- 
TemplateClassification
public TemplateClassification(int speciesID, double correlationVal) The template classification. - 
TemplateClassification
Create the classification from a JSON string- Parameters:
 jsonstring- - the json string.clickTrainControl- - the click train control.
 
 - 
 - 
Method Details
- 
getSpeciesID
public int getSpeciesID()Description copied from interface:CTClassificationGet the species ID for the classifier. 0 is unassigned and will results in the click train being deleted . >0 means the click train has been classified. invalid input: '<'0 means that the click train has been detected but not classified.- Specified by:
 getSpeciesIDin interfaceCTClassification- Returns:
 - the species ID for the classifier.
 
 - 
getCorrelationValue
public double getCorrelationValue()The correlation value.- Returns:
 - the correlation value.
 
 - 
getSummaryString
Description copied from interface:CTClassificationGet summary string for classifiers.- Specified by:
 getSummaryStringin interfaceCTClassification- Returns:
 - a string summary of classifiers.
 
 - 
getClassifierType
Description copied from interface:CTClassificationThe classifier type- Specified by:
 getClassifierTypein interfaceCTClassification- Returns:
 - the classifier type
 
 - 
getJSONLogging
Description copied from interface:CTClassificationGet string logging for the classifier.- Specified by:
 getJSONLoggingin interfaceCTClassification- Returns:
 - the JSON logging
 
 - 
main
 
 -