Sdílet prostřednictvím


ClassificationCategory Třída

ClassificationCategory představuje klasifikaci vstupního dokumentu.

Dědičnost
azure.ai.textanalytics._dict_mixin.DictMixin
ClassificationCategory

Konstruktor

ClassificationCategory(**kwargs: Any)

Metody

get
has_key
items
keys
update
values

get

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

Parametry

Name Description
key
Vyžadováno
default
výchozí hodnota: None

has_key

has_key(k: str) -> bool

Parametry

Name Description
k
Vyžadováno

items

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

keys

keys() -> Iterable[str]

update

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

values

values() -> Iterable[Any]

Atributy

category

Kategorie klasifikace dokumentu.

category: str

confidence_score

Skóre spolehlivosti mezi 0 a 1 rozpoznané klasifikace

confidence_score: float