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

SentimentConfidenceScores 类

Softmax 分数 (的置信度分数) 介于 0 和 1 之间。 值越高表示置信度越高。

继承
azure.ai.textanalytics._dict_mixin.DictMixin
SentimentConfidenceScores

构造函数

SentimentConfidenceScores(**kwargs: Any)

方法

get
has_key
items
keys
update
values

get

get(key: str, default: Any | None = None) -> Any

参数

名称 说明
key
必需
default
默认值: None

has_key

has_key(k: str) -> bool

参数

名称 说明
k
必需

items

items() -> Iterable[Tuple[str, Any]]

keys

keys() -> Iterable[str]

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> Iterable[Any]

属性

negative

负分数。

negative: float

neutral

中性分数。

neutral: float

positive

正分数。

positive: float