Enum ModelTrainingStatus

    • Enum Constant Detail

      • TRAINING_IN_PROGRESS

        public static final ModelTrainingStatus TRAINING_IN_PROGRESS
        This model is currently being trained by the server.
      • TRAINING_QUEUED

        public static final ModelTrainingStatus TRAINING_QUEUED
        This model is in the queue to be trained by the server.
      • MODEL_TRAINING_NO_DATA

        public static final ModelTrainingStatus MODEL_TRAINING_NO_DATA
        Model training had no data
      • NO_POSITIVE_EXAMPLES

        public static final ModelTrainingStatus NO_POSITIVE_EXAMPLES
        There are no positive examples for this model, so it cannot be trained. Please add at least one positive example for each of the model's concepts before trying to train it.
      • MODEL_TRAINING_ONE_VS_N_SINGLE_CLASS

        public static final ModelTrainingStatus MODEL_TRAINING_ONE_VS_N_SINGLE_CLASS
        Custom model training was ONE_VS_N but with a single class
      • MODEL_TRAINING_TIMED_OUT

        public static final ModelTrainingStatus MODEL_TRAINING_TIMED_OUT
        Training took longer than the server allows
      • MODEL_TRAINING_WAITING_ERROR

        public static final ModelTrainingStatus MODEL_TRAINING_WAITING_ERROR
        Training got error waiting on asset pipeline to finish
      • MODEL_TRAINING_UNKNOWN_ERROR

        public static final ModelTrainingStatus MODEL_TRAINING_UNKNOWN_ERROR
        Training threw an unknown error
      • MODEL_TRAINING_UNEXPECTED_REDELIVERY_ERROR

        public static final ModelTrainingStatus MODEL_TRAINING_UNEXPECTED_REDELIVERY_ERROR
        Training request was unexpectedly redelivered, contact [email protected] if this continues to happen.
    • Method Detail

      • values

        public static ModelTrainingStatus[] 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 (ModelTrainingStatus c : ModelTrainingStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ModelTrainingStatus 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
      • isError

        public boolean isError()
      • isTerminalEvent

        public boolean isTerminalEvent()
      • statusCode

        public int statusCode()