Class CTClassifierManager
java.lang.Object
clickTrainDetector.classification.CTClassifierManager
The classification manager for the click train detector. 
 
This handles the various types of classifiers.
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclassify(CTDataUnit ctDataUnit) Classify a CTData unit base on current classifiers,.classifySpecies(CTDataUnit ctDataUnit) Classify the species of the CTDataUnit.,createClassifier(int clssfrIndex) Create a classifier.createClassifier(CTClassifierType classifierType) CT classifiergetClassifierName(CTClassifierType classifierType) Deprecated.Get the current classifiers.intGet the number of classifier types.Get the pre-classifer.jsonString2Classification(String jsonstring) Get a classification from a string;voidSetup classifiers based on the list of classifier params in the list. 
- 
Constructor Details
- 
CTClassifierManager
 
 - 
 - 
Method Details
- 
getClassifierName
Deprecated. - 
getNClassifierTypes
public int getNClassifierTypes()Get the number of classifier types.- Returns:
 - the number of classifier types.
 
 - 
createClassifier
CT classifier- Returns:
 - the CT classifier
 
 - 
jsonString2Classification
Get a classification from a string;- Returns:
 - the classification.
 
 - 
getCurrentClassifiers
Get the current classifiers.- Returns:
 - the current classifier list.
 
 - 
createClassifier
Create a classifier.- Parameters:
 clssfrIndex- - the classifier index- Returns:
 - the classifier
 
 - 
classify
Classify a CTData unit base on current classifiers,.- Parameters:
 ctDataUnit- - the data unit to classify- Returns:
 - - the same data unit with classification updated (not cloned)
 
 - 
classifySpecies
Classify the species of the CTDataUnit.,- Parameters:
 ctDataUnit- - the ctDataUnit- Returns:
 - ctDataUnit with classification info added.
 
 - 
setupClassifiers
public void setupClassifiers()Setup classifiers based on the list of classifier params in the list. - 
getPreClassifier
Get the pre-classifer. This is an intial very broad classifier that is used to determine whether a click train should be saved or dumped from memory.- Returns:
 - the pre-classifier.
 
 
 -