ClassificationCategory2 Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. ClassificationCategory2
- com.
public class ClassificationCategory2
The category2 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 ClassificationCategory2 withScore(Double score)
Set the score value.
Parameters:
score
- the score value to set
Returns:
the ClassificationCategory2 object itself.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för