public class CategoriesResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
CategoriesResult() |
Modifier and Type | Method and Description |
---|---|
CategoriesResultExplanation |
getExplanation()
Gets the explanation.
|
String |
getLabel()
Gets the label.
|
Double |
getScore()
Gets the score.
|
public String getLabel()
The path to the category through the multi-level taxonomy hierarchy. For more information about the categories, see [Categories hierarchy](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-categories#categories-hierarchy).
public Double getScore()
Confidence score for the category classification. Higher values indicate greater confidence.
public CategoriesResultExplanation getExplanation()
Information that helps to explain what contributed to the categories result.
Copyright © 2022 IBM Cloud. All rights reserved.