Class Model<PREDICTION extends Prediction>

    • Method Detail

      • _create

        @NotNull
        public static <T extends Model<?>> T _create​(@NotNull
                                                     @NotNull ModelType modelType,
                                                     @NotNull
                                                     @NotNull ClarifaiClient helper,
                                                     @NotNull
                                                     @NotNull java.lang.String id,
                                                     @NotNull
                                                     @NotNull java.lang.String name,
                                                     @Nullable
                                                     @Nullable OutputInfo outputInfo)
      • _create

        @NotNull
        public static <T extends Model<?>> T _create​(@NotNull
                                                     @NotNull ModelType modelType,
                                                     @NotNull
                                                     @NotNull ClarifaiClient helper,
                                                     @NotNull
                                                     @NotNull java.lang.String id,
                                                     @NotNull
                                                     @NotNull java.lang.String name,
                                                     @Nullable
                                                     @Nullable OutputInfo outputInfo,
                                                     @Nullable
                                                     @Nullable ModelVersion modelVersion)
      • getModelRequest

        @NotNull
        public @NotNull GetModelRequest getModelRequest()
      • isConceptModel

        public final boolean isConceptModel()
      • asConceptModel

        @NotNull
        public final @NotNull ConceptModel asConceptModel()
      • isColorModel

        public final boolean isColorModel()
      • asColorModel

        @NotNull
        public final @NotNull ColorModel asColorModel()
      • isEmbeddingModel

        public final boolean isEmbeddingModel()
      • asEmbeddingModel

        @NotNull
        public final @NotNull EmbeddingModel asEmbeddingModel()
      • isFaceEmbeddingModel

        public final boolean isFaceEmbeddingModel()
      • asFaceEmbeddingModel

        @NotNull
        public final @NotNull FaceEmbeddingModel asFaceEmbeddingModel()
      • isClusterModel

        public final boolean isClusterModel()
      • asClusterModel

        @NotNull
        public final @NotNull ClusterModel asClusterModel()
      • asDetectionModel

        @NotNull
        public final @NotNull DetectionModel asDetectionModel()
      • name

        @Nullable
        public abstract @Nullable java.lang.String name()
      • modelType

        @NotNull
        public abstract @NotNull ModelType modelType()
      • modelTypeStatic

        public static ModelType modelTypeStatic()
      • createdAt

        @NotNull
        public @NotNull java.util.Date createdAt()
      • appID

        @NotNull
        public @NotNull java.lang.String appID()
      • modelVersion

        @NotNull
        public @NotNull ModelVersion modelVersion()
      • outputInfo

        @NotNull
        public @NotNull OutputInfo outputInfo()
      • getVersionByID

        @NotNull
        public final @NotNull ClarifaiRequest<ModelVersion> getVersionByID​(@NotNull
                                                                           @NotNull java.lang.String versionID)
      • deleteVersion

        @NotNull
        public final @NotNull ClarifaiRequest<java.util.List<ModelVersion>> deleteVersion​(@NotNull
                                                                                          @NotNull java.lang.String versionID)