Class KetosClassifier2
java.lang.Object
rawDeepLearningClassifier.dlClassification.StandardClassifierModel
rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
rawDeepLearningClassifier.dlClassification.ketos.KetosClassifier2
- All Implemented Interfaces:
 PamSettings,SettingsNameProvider,DLClassiferModel
Classifier which uses deep learning models from Meridian's Ketos framework.
 
Ketos uses TensorFlow models and packages them inside a zipped .ktpb file which contains a JSON file for the transforms and a .pb model. Users can select a .ktpb file - PAMGaurd will decompress it, find the JSON file, set up the transforms and load the model.
Details on Meridians framework can be found at https://meridian.cs.dal.ca/2015/04/12/ketos/
KetosClassifier2 is a more abstracted version of KetosClassifer which inherits most functionality from ArchiveModel
- Author:
 - Jamie Macaulay
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
StandardClassifierModel.TaskThread - 
Field Summary
FieldsFields inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
dlControl - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
getDLModelSettings, getDLParams, getDLWorker, getKetosParams, getModelUI, getSettingsReference, getSettingsVersion, getUnitName, getUnitType, isModelType, restoreSettings, setDLParamsMethods inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
checkSettingsOK, closeModel, getAllowedDataTypes, getClassNameIDs, getClassNames, getDLControl, getModelStatus, getNumClasses, getRawSettingsPane, isDecision, isModelExtensions, millis2Samples, newResult, prepModel, runModel, setModel 
- 
Field Details
- 
MODEL_NAME
 
 - 
 - 
Constructor Details
- 
KetosClassifier2
 
 - 
 - 
Method Details
- 
getFileExtensions
Description copied from class:ArchiveModelClassifierGet the file extensions for the model type.- Overrides:
 getFileExtensionsin classArchiveModelClassifier- Returns:
 - the file extension.
 
 - 
getName
Description copied from interface:DLClassiferModelGet the name of the model.- Specified by:
 getNamein interfaceDLClassiferModel- Overrides:
 getNamein classArchiveModelClassifier- Returns:
 - the name of the model.
 
 - 
getModelWorker
Description copied from class:ArchiveModelClassifierGet the KetosWorker. this handles loading and running the Ketos model.- Overrides:
 getModelWorkerin classArchiveModelClassifier- Returns:
 - the Ketos worker.
 
 - 
makeParams
Create the parameters class for the model. This can be overridden for bespoke parameters. classes.- Overrides:
 makeParamsin classArchiveModelClassifier- Returns:
 - a new parameters class object.
 
 
 -