class documentation

class Classification(_HasID, Label): (source)

View In Hierarchy

A classification label.

Parameters
labelthe label string
confidencea confidence in [0, 1] for the classification
logitslogits associated with the labels
Class Variable confidence Undocumented
Class Variable label Undocumented
Class Variable logits Undocumented

Inherited from _HasID:

Class Variable tags Undocumented
Instance Variable id Undocumented
Method _id.setter Undocumented
Property _id Undocumented

Inherited from Label (via _HasID):

Method delete_attribute Deletes the attribute with the given name.
Method get_attribute_value Gets the value of the attribute with the given name.
Method has_attribute Determines whether the label has an attribute with the given name.
Method iter_attributes Returns an iterator over the custom attributes of the label.
Method set_attribute_value Sets the value of the attribute with the given name.
confidence: None = (source)

Undocumented

Undocumented

Undocumented