Class ClassificationsResult

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

public class ClassificationsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A classification of the analyzed text.
  • Constructor Details

    • ClassificationsResult

      public ClassificationsResult()
  • Method Details

    • getClassName

      public String getClassName()
      Gets the className.

      Classification assigned to the text.

      Returns:
      the className
    • getConfidence

      public Double getConfidence()
      Gets the confidence.

      Confidence score for the classification. Higher values indicate greater confidence.

      Returns:
      the confidence