Class Classifier

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v3.model.Classifier
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class Classifier
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about a classifier.
  • Constructor Details

    • Classifier

      public Classifier()
  • Method Details

    • getClassifierId

      public String getClassifierId()
      Gets the classifierId.

      ID of a classifier identified in the image.

      Returns:
      the classifierId
    • getName

      public String getName()
      Gets the name.

      Name of the classifier.

      Returns:
      the name
    • getOwner

      public String getOwner()
      Gets the owner.

      Unique ID of the account who owns the classifier. Might not be returned by some requests.

      Returns:
      the owner
    • getStatus

      public String getStatus()
      Gets the status.

      Training status of classifier.

      Returns:
      the status
    • isCoreMlEnabled

      public Boolean isCoreMlEnabled()
      Gets the coreMlEnabled.

      Whether the classifier can be downloaded as a Core ML model after the training status is `ready`.

      Returns:
      the coreMlEnabled
    • getExplanation

      public String getExplanation()
      Gets the explanation.

      If classifier training has failed, this field might explain why.

      Returns:
      the explanation
    • getCreated

      public Date getCreated()
      Gets the created.

      Date and time in Coordinated Universal Time (UTC) that the classifier was created.

      Returns:
      the created
    • getClasses

      public List<Class> getClasses()
      Gets the classes.

      Classes that define a classifier.

      Returns:
      the classes
    • getRetrained

      public Date getRetrained()
      Gets the retrained.

      Date and time in Coordinated Universal Time (UTC) that the classifier was updated. Might not be returned by some requests. Identical to `updated` and retained for backward compatibility.

      Returns:
      the retrained
    • getUpdated

      public Date getUpdated()
      Gets the updated.

      Date and time in Coordinated Universal Time (UTC) that the classifier was most recently updated. The field matches either `retrained` or `created`. Might not be returned by some requests.

      Returns:
      the updated