ModelGroup

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

Bases: object

Model group is a collection of the models. Model groups are represented by their associated metadata.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a ModelGroup.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a ModelGroup.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a ModelGroup.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a ModelGroup.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a ModelGroup.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a ModelGroup.

compartment_id

[Required] Gets the compartment_id of this ModelGroup.

create_type

Gets the create_type of this ModelGroup.

created_by

[Required] Gets the created_by of this ModelGroup.

defined_tags

Gets the defined_tags of this ModelGroup.

description

Gets the description of this ModelGroup.

display_name

Gets the display_name of this ModelGroup.

freeform_tags

Gets the freeform_tags of this ModelGroup.

id

[Required] Gets the id of this ModelGroup.

lifecycle_details

Gets the lifecycle_details of this ModelGroup.

lifecycle_state

[Required] Gets the lifecycle_state of this ModelGroup.

member_model_entries

[Required] Gets the member_model_entries of this ModelGroup.

model_group_details

[Required] Gets the model_group_details of this ModelGroup.

model_group_version_history_id

Gets the model_group_version_history_id of this ModelGroup.

model_group_version_history_name

Gets the model_group_version_history_name of this ModelGroup.

project_id

[Required] Gets the project_id of this ModelGroup.

source_model_group_id

Gets the source_model_group_id of this ModelGroup.

system_tags

Gets the system_tags of this ModelGroup.

time_created

[Required] Gets the time_created of this ModelGroup.

time_updated

[Required] Gets the time_updated of this ModelGroup.

version_id

Gets the version_id of this ModelGroup.

version_label

Gets the version_label of this ModelGroup.

Methods:

__init__(**kwargs)

Initializes a new ModelGroup object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ModelGroup. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ModelGroup. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ModelGroup. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ModelGroup. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ModelGroup. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a ModelGroup. This constant has a value of “INACTIVE”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this ModelGroup.

  • compartment_id (str) – The value to assign to the compartment_id property of this ModelGroup.

  • project_id (str) – The value to assign to the project_id property of this ModelGroup.

  • display_name (str) – The value to assign to the display_name property of this ModelGroup.

  • description (str) – The value to assign to the description property of this ModelGroup.

  • model_group_details (oci.data_science.models.ModelGroupDetails) – The value to assign to the model_group_details property of this ModelGroup.

  • member_model_entries (oci.data_science.models.MemberModelEntries) – The value to assign to the member_model_entries property of this ModelGroup.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ModelGroup.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ModelGroup.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ModelGroup.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ModelGroup. Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “INACTIVE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this ModelGroup.

  • time_created (datetime) – The value to assign to the time_created property of this ModelGroup.

  • time_updated (datetime) – The value to assign to the time_updated property of this ModelGroup.

  • created_by (str) – The value to assign to the created_by property of this ModelGroup.

  • model_group_version_history_id (str) – The value to assign to the model_group_version_history_id property of this ModelGroup.

  • model_group_version_history_name (str) – The value to assign to the model_group_version_history_name property of this ModelGroup.

  • version_label (str) – The value to assign to the version_label property of this ModelGroup.

  • version_id (int) – The value to assign to the version_id property of this ModelGroup.

  • create_type (str) – The value to assign to the create_type property of this ModelGroup.

  • source_model_group_id (str) – The value to assign to the source_model_group_id property of this ModelGroup.

property compartment_id

[Required] Gets the compartment_id of this ModelGroup. The OCID of the modelGroup’s compartment.

Returns

The compartment_id of this ModelGroup.

Return type

str

property create_type

Gets the create_type of this ModelGroup. The type of the model group create operation.

Returns

The create_type of this ModelGroup.

Return type

str

property created_by

[Required] Gets the created_by of this ModelGroup. The OCID of the user who created the modelGroup.

Returns

The created_by of this ModelGroup.

Return type

str

property defined_tags

Gets the defined_tags of this ModelGroup. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this ModelGroup.

Return type

dict(str, dict(str, object))

property description

Gets the description of this ModelGroup. A short description of the modelGroup.

Returns

The description of this ModelGroup.

Return type

str

property display_name

Gets the display_name of this ModelGroup. A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.

Returns

The display_name of this ModelGroup.

Return type

str

property freeform_tags

Gets the freeform_tags of this ModelGroup. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}

Returns

The freeform_tags of this ModelGroup.

Return type

dict(str, str)

property id

[Required] Gets the id of this ModelGroup. The OCID of the modelGroup.

Returns

The id of this ModelGroup.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this ModelGroup. Details about the lifecycle state of the model group.

Returns

The lifecycle_details of this ModelGroup.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this ModelGroup. The state of the modelGroup.

Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “INACTIVE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this ModelGroup.

Return type

str

property member_model_entries

[Required] Gets the member_model_entries of this ModelGroup.

Returns

The member_model_entries of this ModelGroup.

Return type

oci.data_science.models.MemberModelEntries

property model_group_details

[Required] Gets the model_group_details of this ModelGroup.

Returns

The model_group_details of this ModelGroup.

Return type

oci.data_science.models.ModelGroupDetails

property model_group_version_history_id

Gets the model_group_version_history_id of this ModelGroup. The OCID of the model group version history to which the modelGroup is associated.

Returns

The model_group_version_history_id of this ModelGroup.

Return type

str

property model_group_version_history_name

Gets the model_group_version_history_name of this ModelGroup. The name of the model group version history to which the model group is associated.

Returns

The model_group_version_history_name of this ModelGroup.

Return type

str

property project_id

[Required] Gets the project_id of this ModelGroup. The OCID of the project associated with the modelGroup.

Returns

The project_id of this ModelGroup.

Return type

str

property source_model_group_id

Gets the source_model_group_id of this ModelGroup. The OCID of the model group used for the clone operation.

Returns

The source_model_group_id of this ModelGroup.

Return type

str

property system_tags

Gets the system_tags of this ModelGroup. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this ModelGroup.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this ModelGroup. The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

Returns

The time_created of this ModelGroup.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this ModelGroup. The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

Returns

The time_updated of this ModelGroup.

Return type

datetime

property version_id

Gets the version_id of this ModelGroup. Unique identifier assigned to each version of the model group. It would be auto-incremented number generated by service.

Returns

The version_id of this ModelGroup.

Return type

int

property version_label

Gets the version_label of this ModelGroup. An additional description of the lifecycle state of the model group.

Returns

The version_label of this ModelGroup.

Return type

str