Class DLClassNameManager
java.lang.Object
rawDeepLearningClassifier.dlClassification.DLClassNameManager
Manages assigning class names and unique identifier numbers for each class type.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionDLClassNameManager
(DLControl dlControl) Constructor for the class name mamanger. -
Method Summary
Modifier and TypeMethodDescriptiongetClassName
(short iD) Get the class name.makeClassNames
(String className) Get a classname from a class name string.makeClassNames
(String[] classNames) Creates an array of DLClassNames names from a an array of String class names.
-
Constructor Details
-
DLClassNameManager
Constructor for the class name mamanger.- Parameters:
dlControl
- - the dl control.
-
-
Method Details
-
makeClassNames
Creates an array of DLClassNames names from a an array of String class names. The DLClassName contains a unique ID number that is used for saving data.- Parameters:
dlParams
- - the- Returns:
- a corresponding array of class names.
-
makeClassNames
Get a classname from a class name string. Applies a unique identifier number for a class name.- Parameters:
className
- - the class name string.- Returns:
- a corresponding array of class names.
-
getClassName
Get the class name.- Parameters:
iD
- - the unique identifier number.- Returns:
- - the name of the class.
-