ClassificationCategory1 Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. ClassificationCategory1
- com.
public class ClassificationCategory1
The category1 score details of the text. <a href="https://aka.ms/textClassifyCategories">Click here</a> for more details on category classification.
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
score()
Get the score value. |
Classification |
withScore(Double score)
Set the score value. |
Method Details
score
public Double score()
Get the score value.
Returns:
the score value
withScore
public ClassificationCategory1 withScore(Double score)
Set the score value.
Parameters:
score
- the score value to set
Returns:
the ClassificationCategory1 object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java