Class BearingClassifierJSON
java.lang.Object
generalDatabase.JsonConverter
clickTrainDetector.classification.ClassifierJSONLogging
clickTrainDetector.classification.SimpleClassifierJSONLogging
clickTrainDetector.classification.bearingClassifier.BearingClassifierJSON
JSON string logging for the bearing classifier.
- Author:
- Jamie Macaulay
-
Field Summary
Fields inherited from class clickTrainDetector.classification.SimpleClassifierJSONLogging
SPECIESFIELD, TYPEFIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateClassification
(com.fasterxml.jackson.databind.JsonNode jTree) Get classifier data after default TYPE and SPECIESID values has beenvoid
writeJSONData
(com.fasterxml.jackson.core.JsonGenerator jg, CTClassification ctClassification) Write JSON data after default TYPE and SPECIESID values have been added.Methods inherited from class clickTrainDetector.classification.SimpleClassifierJSONLogging
createClassification, getJsonString
Methods inherited from class generalDatabase.JsonConverter
getJSONElement, getJSONElement, quickJsonString, unpackJsonArray, writeJsonArray, writeJsonValue
-
Field Details
-
MEDIAN_BEARING_STRING
- See Also:
-
MEAN_BEARING_STRING
- See Also:
-
STD_BEARING_STRING
- See Also:
-
-
Constructor Details
-
BearingClassifierJSON
public BearingClassifierJSON()
-
-
Method Details
-
writeJSONData
public void writeJSONData(com.fasterxml.jackson.core.JsonGenerator jg, CTClassification ctClassification) Write JSON data after default TYPE and SPECIESID values have been added.- Overrides:
writeJSONData
in classSimpleClassifierJSONLogging
- Parameters:
the
- JSON data generator.- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
-
createClassification
Get classifier data after default TYPE and SPECIESID values has been- Overrides:
createClassification
in classSimpleClassifierJSONLogging
- Parameters:
the
- JSON node which contains data.
-