public class ClassifiedClass
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className |
protected java.lang.Double |
confidence |
Constructor and Description |
---|
ClassifiedClass() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Gets the className.
|
java.lang.Double |
getConfidence()
Gets the confidence.
|
protected java.lang.Double confidence
@SerializedName(value="class_name") protected java.lang.String className
public java.lang.Double getConfidence()
A decimal percentage that represents the confidence that Watson has in this class. Higher values represent higher confidences.
public java.lang.String getClassName()
Class label.