class documentation
A classification label.
Parameters | |
label | the label string |
confidence | a confidence in [0, 1] for the classification |
logits | logits 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 |
Undocumented |
Property | _id |
Undocumented |
Inherited from Label
(via _HasID
):
Method | delete |
Deletes the attribute with the given name. |
Method | get |
Gets the value of the attribute with the given name. |
Method | has |
Determines whether the label has an attribute with the given name. |
Method | iter |
Returns an iterator over the custom attributes of the label. |
Method | set |
Sets the value of the attribute with the given name. |