Class DLClassNameManager

java.lang.Object
rawDeepLearningClassifier.dlClassification.DLClassNameManager

public class DLClassNameManager extends Object
Manages assigning class names and unique identifier numbers for each class type.
Author:
Jamie Macaulay
  • Constructor Details

    • DLClassNameManager

      public DLClassNameManager(DLControl dlControl)
      Constructor for the class name mamanger.
      Parameters:
      dlControl - - the dl control.
  • Method Details

    • makeClassNames

      public DLClassName[] makeClassNames(String[] classNames)
      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

      public DLClassName makeClassNames(String className)
      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

      public String getClassName(short iD)
      Get the class name.
      Parameters:
      iD - - the unique identifier number.
      Returns:
      - the name of the class.