public class ClassificationsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Constructor and Description | 
|---|
ClassificationsResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getClassName()
Gets the className. 
 | 
Double | 
getConfidence()
Gets the confidence. 
 | 
public String getClassName()
Classification assigned to the text.
public Double getConfidence()
Confidence score for the classification. Higher values indicate greater confidence.
Copyright © 2021 IBM Cloud. All rights reserved.