你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ClassificationCategory1 类

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.ClassificationCategory1

public class ClassificationCategory1

文本的 category1 分数详细信息。 <a href=“https://aka.ms/textClassifyCategories”>单击此处</a> ,了解有关类别分类的更多详细信息。

方法摘要

修饰符和类型 方法和描述
Double score()

获取分数值。

ClassificationCategory1 withScore(Double score)

设置分数值。

方法详细信息

score

public Double score()

获取分数值。

Returns:

分数值

withScore

public ClassificationCategory1 withScore(Double score)

设置分数值。

Parameters:

score - 要设置的分数值

Returns:

ClassificationCategory1 对象本身。

适用于