Class ClassifiedClass
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 Summary
Constructors Constructor Description ClassifiedClass()
-
Method Summary
Modifier and Type Method Description String
getClassName()
Gets the className.Double
getConfidence()
Gets the confidence.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ClassifiedClass
public ClassifiedClass()
-
-
Method Details
-
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
Gets the className.Class label.
- Returns:
- the className
-