ClassificationMultiClassModeDetails

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

Bases: oci.ai_language.models.classification_type.ClassificationType

Possible text classification multi class mode details

Attributes

CLASSIFICATION_MODE_MULTI_CLASS str(object=’’) -> str
CLASSIFICATION_MODE_MULTI_LABEL str(object=’’) -> str
classification_mode [Required] Gets the classification_mode of this ClassificationType.
version Gets the version of this ClassificationMultiClassModeDetails.

Methods

__init__(**kwargs) Initializes a new ClassificationMultiClassModeDetails 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.
CLASSIFICATION_MODE_MULTI_CLASS = 'MULTI_CLASS'
CLASSIFICATION_MODE_MULTI_LABEL = 'MULTI_LABEL'
__init__(**kwargs)

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

Parameters:
  • classification_mode (str) – The value to assign to the classification_mode property of this ClassificationMultiClassModeDetails. Allowed values for this property are: “MULTI_CLASS”, “MULTI_LABEL”
  • version (str) – The value to assign to the version property of this ClassificationMultiClassModeDetails.
classification_mode

[Required] Gets the classification_mode of this ClassificationType. classification Modes

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

Returns:The classification_mode of this ClassificationType.
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.

version

Gets the version of this ClassificationMultiClassModeDetails. Optional if nothing specified latest base model will be used for training. Supported versions can be found at /modelTypes/{modelType}

Returns:The version of this ClassificationMultiClassModeDetails.
Return type:str