java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_classifier.v1.model.ClassifiedClass
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ClassifiedClass
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Class and confidence.
  • Constructor Details

    • ClassifiedClass

      public ClassifiedClass()
  • Method Details

    • getConfidence

      public Double getConfidence()
      Gets the confidence.

      A decimal percentage that represents the confidence that Watson has in this class. Higher values represent higher confidences.

      Returns:
      the confidence
    • getClassName

      public String getClassName()
      Gets the className.

      Class label.

      Returns:
      the className