StackedModelGroupDetails

class oci.data_science.models.StackedModelGroupDetails(**kwargs)

Bases: oci.data_science.models.model_group_details.ModelGroupDetails

Stacked model group type.

Attributes

TYPE_HETEROGENEOUS str(object=’’) -> str
TYPE_HOMOGENEOUS str(object=’’) -> str
TYPE_STACKED str(object=’’) -> str
base_model_id [Required] Gets the base_model_id of this StackedModelGroupDetails.
custom_metadata_list Gets the custom_metadata_list of this ModelGroupDetails.
type [Required] Gets the type of this ModelGroupDetails.

Methods

__init__(**kwargs) Initializes a new StackedModelGroupDetails 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.
TYPE_HETEROGENEOUS = 'HETEROGENEOUS'
TYPE_HOMOGENEOUS = 'HOMOGENEOUS'
TYPE_STACKED = 'STACKED'
__init__(**kwargs)

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

Parameters:
  • type (str) – The value to assign to the type property of this StackedModelGroupDetails. Allowed values for this property are: “HOMOGENEOUS”, “HETEROGENEOUS”, “STACKED”
  • custom_metadata_list (list[oci.data_science.models.CustomMetadata]) – The value to assign to the custom_metadata_list property of this StackedModelGroupDetails.
  • base_model_id (str) – The value to assign to the base_model_id property of this StackedModelGroupDetails.
base_model_id

[Required] Gets the base_model_id of this StackedModelGroupDetails. The OCID of the model in the group that represents the base model for stacked deployment.

Returns:The base_model_id of this StackedModelGroupDetails.
Return type:str
custom_metadata_list

Gets the custom_metadata_list of this ModelGroupDetails. An array of custom metadata details for the model group.

Returns:The custom_metadata_list of this ModelGroupDetails.
Return type:list[oci.data_science.models.CustomMetadata]
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.

type

[Required] Gets the type of this ModelGroupDetails. The type of the model group.

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

Returns:The type of this ModelGroupDetails.
Return type:str