Class ClassificationCategory
java.lang.Object
com.azure.ai.textanalytics.models.ClassificationCategory
The document classification result which contains the classified category and the confidence score on it.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the classified category of document.double
Gets the score property: Confidence score between 0 and 1 of the classified category.
-
Constructor Details
-
ClassificationCategory
public ClassificationCategory()
-
-
Method Details
-
getCategory
Gets the classified category of document.- Returns:
- The classified category of document.
-
getConfidenceScore
public double getConfidenceScore()Gets the score property: Confidence score between 0 and 1 of the classified category.- Returns:
- The
confidenceScore
value.
-