Label

class oci.data_labeling_service_dataplane.models.Label(**kwargs)

Bases: object

A label is a string value. The API will validate that it’s one of the dataset’s pre-defined labels. In the future, we’ll be able to support a confidence score.

Methods

__init__(**kwargs) Initializes a new Label object with values from keyword arguments.

Attributes

label [Required] Gets the label of this Label.
__init__(**kwargs)

Initializes a new Label object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:label (str) – The value to assign to the label property of this Label.
label

[Required] Gets the label of this Label. The label provided by the annotator.

Returns:The label of this Label.
Return type:str