Class IDIClassification
java.lang.Object
clickTrainDetector.classification.idiClassifier.IDIClassification
- All Implemented Interfaces:
CTClassification
Classification result from the bearing classifier.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionIDIClassification
(int speciesID, double medianIDI, double meanIDI, double stdIDI) Constructor for the bearing classifier.IDIClassification
(String jsonstring) Bearing classification from a JSON string. -
Method Summary
Modifier and TypeMethodDescriptionThe classifier typeGet string logging for the classifier.double
Get the mean of bearing delta values in radians per second.double
Get the median of bearing delta values in radians per second.int
Get the species ID for the classifier.double
Get the standard deviation in bearing delta values in radians per second.Get summary string for classifiers.
-
Constructor Details
-
IDIClassification
public IDIClassification(int speciesID, double medianIDI, double meanIDI, double stdIDI) Constructor for the bearing classifier.- Parameters:
speciesID
- - the speciesID flag.medianIDI
- - the median IDI in seconds.meanIDI
- - the mean IDI in seconds.stdIDI
- - the standard deviation in IDI.
-
IDIClassification
Bearing classification from a JSON string.- Parameters:
jsonstring
- - JSON string containing the bearing data.
-
-
Method Details
-
getClassifierType
Description copied from interface:CTClassification
The classifier type- Specified by:
getClassifierType
in interfaceCTClassification
- Returns:
- the classifier type
-
getSpeciesID
public int getSpeciesID()Description copied from interface:CTClassification
Get 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:
getSpeciesID
in interfaceCTClassification
- Returns:
- the species ID for the classifier.
-
getSummaryString
Description copied from interface:CTClassification
Get summary string for classifiers.- Specified by:
getSummaryString
in interfaceCTClassification
- Returns:
- a string summary of classifiers.
-
getJSONLogging
Description copied from interface:CTClassification
Get string logging for the classifier.- Specified by:
getJSONLogging
in interfaceCTClassification
- Returns:
- the JSON logging
-
getMedianIDI
public double getMedianIDI()Get the median of bearing delta values in radians per second.- Returns:
- the median bearing delta in rad/s.
-
getMeanIDI
public double getMeanIDI()Get the mean of bearing delta values in radians per second.- Returns:
- the mean bearing delta in rad/s
-
getStdIDI
public double getStdIDI()Get the standard deviation in bearing delta values in radians per second.- Returns:
- the standard deviation in bearing delta in rad/s
-