Enum ModelKind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ModelKind>

    public enum ModelKind
    extends java.lang.Enum<ModelKind>
    Enumeration for the different models we have implemented. Necessary to marshal/unmarshal correctly model metadata embedded in model loading/storing configurations
    • Enum Constant Detail

      • DEEPWALK

        public static final ModelKind DEEPWALK
      • PG2VEC

        public static final ModelKind PG2VEC
      • SUPERVISED_GRAPHWISE

        public static final ModelKind SUPERVISED_GRAPHWISE
      • UNSUPERVISED_GRAPHWISE

        public static final ModelKind UNSUPERVISED_GRAPHWISE
      • SUPERVISED_EDGEWISE

        public static final ModelKind SUPERVISED_EDGEWISE
      • UNSUPERVISED_EDGEWISE

        public static final ModelKind UNSUPERVISED_EDGEWISE
    • Method Detail

      • values

        public static ModelKind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ModelKind c : ModelKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ModelKind valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null