DataScienceLabelingDataset

class oci.ai_language.models.DataScienceLabelingDataset(**kwargs)

Bases: oci.ai_language.models.dataset_details.DatasetDetails

Dataset that uses data science labelling service as underlying data source.

Attributes

DATASET_TYPE_DATA_SCIENCE_LABELING str(object=’’) -> str
DATASET_TYPE_OBJECT_STORAGE str(object=’’) -> str
dataset_id [Required] Gets the dataset_id of this DataScienceLabelingDataset.
dataset_type [Required] Gets the dataset_type of this DatasetDetails.

Methods

__init__(**kwargs) Initializes a new DataScienceLabelingDataset object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
DATASET_TYPE_DATA_SCIENCE_LABELING = 'DATA_SCIENCE_LABELING'
DATASET_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'
__init__(**kwargs)

Initializes a new DataScienceLabelingDataset object with values from keyword arguments. The default value of the dataset_type attribute of this class is DATA_SCIENCE_LABELING and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • dataset_type (str) – The value to assign to the dataset_type property of this DataScienceLabelingDataset. Allowed values for this property are: “OBJECT_STORAGE”, “DATA_SCIENCE_LABELING”
  • dataset_id (str) – The value to assign to the dataset_id property of this DataScienceLabelingDataset.
dataset_id

[Required] Gets the dataset_id of this DataScienceLabelingDataset. Data Science Labelling Service OCID

Returns:The dataset_id of this DataScienceLabelingDataset.
Return type:str
dataset_type

[Required] Gets the dataset_type of this DatasetDetails. Possible data sets

Allowed values for this property are: “OBJECT_STORAGE”, “DATA_SCIENCE_LABELING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The dataset_type of this DatasetDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.