Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
ai_document
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: model.cpython-39.pyc
a ���f�q � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Ze d<d=� �Zejd>d=� �Ze d?d@� �Z e jdAd@� �Z e dBdC� �Z!e!jdDdC� �Z!e dEdF� �Z"e"jdGdF� �Z"e dHdI� �Z#e#jdJdI� �Z#e dKdL� �Z$e$jdMdL� �Z$e dNdO� �Z%e%jdPdO� �Z%e dQdR� �Z&e&jdSdR� �Z&e dTdU� �Z'e'jdVdU� �Z'e dWdX� �Z(e(jdYdX� �Z(e dZd[� �Z)e)jd\d[� �Z)d]d^� Z*d_d`� Z+dadb� Z,dcS )d�Modelz Machine-learned Model. �KEY_VALUE_EXTRACTION�DOCUMENT_CLASSIFICATION�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s" dddddddddddddddddddddddd d d dd�| _ d ddddddddddddddddddd d!d"d#d$d%d&d'd�| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _ d(| _ d(| _d(| _d(| _ d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(S ))ag Initializes a new Model object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Model. :type id: str :param display_name: The value to assign to the display_name property of this Model. :type display_name: str :param description: The value to assign to the description property of this Model. :type description: str :param compartment_id: The value to assign to the compartment_id property of this Model. :type compartment_id: str :param model_type: The value to assign to the model_type property of this Model. Allowed values for this property are: "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param tenancy_id: The value to assign to the tenancy_id property of this Model. :type tenancy_id: str :param alias_name: The value to assign to the alias_name property of this Model. :type alias_name: str :param labels: The value to assign to the labels property of this Model. :type labels: list[str] :param is_quick_mode: The value to assign to the is_quick_mode property of this Model. :type is_quick_mode: bool :param max_training_time_in_hours: The value to assign to the max_training_time_in_hours property of this Model. :type max_training_time_in_hours: float :param trained_time_in_hours: The value to assign to the trained_time_in_hours property of this Model. :type trained_time_in_hours: float :param training_dataset: The value to assign to the training_dataset property of this Model. :type training_dataset: oci.ai_document.models.Dataset :param testing_dataset: The value to assign to the testing_dataset property of this Model. :type testing_dataset: oci.ai_document.models.Dataset :param validation_dataset: The value to assign to the validation_dataset property of this Model. :type validation_dataset: oci.ai_document.models.Dataset :param component_models: The value to assign to the component_models property of this Model. :type component_models: list[oci.ai_document.models.ComponentModel] :param is_composed_model: The value to assign to the is_composed_model property of this Model. :type is_composed_model: bool :param model_version: The value to assign to the model_version property of this Model. :type model_version: str :param project_id: The value to assign to the project_id property of this Model. :type project_id: str :param time_created: The value to assign to the time_created property of this Model. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Model. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Model. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Model. :type lifecycle_details: str :param metrics: The value to assign to the metrics property of this Model. :type metrics: oci.ai_document.models.ModelMetrics :param freeform_tags: The value to assign to the freeform_tags property of this Model. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Model. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Model. :type system_tags: dict(str, dict(str, object)) :param locks: The value to assign to the locks property of this Model. :type locks: list[oci.ai_document.models.ResourceLock] �strz list[str]�bool�floatZDatasetzlist[ComponentModel]ZdatetimeZModelMetricszdict(str, str)zdict(str, dict(str, object))zlist[ResourceLock])�id�display_name�description�compartment_id� model_type� tenancy_id� alias_name�labels� is_quick_mode�max_training_time_in_hours�trained_time_in_hours�training_dataset�testing_dataset�validation_dataset�component_models�is_composed_model� model_version� project_id�time_created�time_updated�lifecycle_state�lifecycle_details�metrics� freeform_tags�defined_tags�system_tags�locksr ZdisplayNamer Z compartmentIdZ modelTypeZ tenancyIdZ aliasNamer ZisQuickModeZmaxTrainingTimeInHoursZtrainedTimeInHoursZtrainingDatasetZtestingDatasetZvalidationDatasetZcomponentModelsZisComposedModelZmodelVersionZ projectIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsr( ZfreeformTagsZdefinedTagsZ systemTagsr, N)Z swagger_typesZ attribute_map�_id� _display_name�_description�_compartment_id�_model_type�_tenancy_id�_alias_name�_labels�_is_quick_mode�_max_training_time_in_hours�_trained_time_in_hours�_training_dataset�_testing_dataset�_validation_dataset�_component_models�_is_composed_model�_model_version�_project_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_metrics�_freeform_tags� _defined_tags�_system_tags�_locks)�self�kwargs� rJ �@/usr/lib/python3.9/site-packages/oci/ai_document/models/model.py�__init__2 s� w��zModel.__init__c C s | j S )z� **[Required]** Gets the id of this Model. A unique identifier that is immutable after creation. :return: The id of this Model. :rtype: str �r- �rH rJ rJ rK r s zModel.idc C s || _ dS )z� Sets the id of this Model. A unique identifier that is immutable after creation. :param id: The id of this Model. :type: str NrM )rH r rJ rJ rK r s c C s | j S )z� Gets the display_name of this Model. A human-friendly name for the model, which can be changed. :return: The display_name of this Model. :rtype: str �r. rN rJ rJ rK r s zModel.display_namec C s || _ dS )z� Sets the display_name of this Model. A human-friendly name for the model, which can be changed. :param display_name: The display_name of this Model. :type: str NrO )rH r rJ rJ rK r $ s c C s | j S )z� Gets the description of this Model. An optional description of the model. :return: The description of this Model. :rtype: str �r/ rN rJ rJ rK r 0 s zModel.descriptionc C s || _ dS )z� Sets the description of this Model. An optional description of the model. :param description: The description of this Model. :type: str NrP )rH r rJ rJ rK r < s c C s | j S )z� **[Required]** Gets the compartment_id of this Model. The compartment identifier. :return: The compartment_id of this Model. :rtype: str �r0 rN rJ rJ rK r H s zModel.compartment_idc C s || _ dS )z� Sets the compartment_id of this Model. The compartment identifier. :param compartment_id: The compartment_id of this Model. :type: str NrQ )rH r rJ rJ rK r T s c C s | j S )a� **[Required]** Gets the model_type of this Model. The type of the Document model. Allowed values for this property are: "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The model_type of this Model. :rtype: str )r1 rN rJ rJ rK r ` s zModel.model_typec C s ddg}t ||�sd}|| _dS )z� Sets the model_type of this Model. The type of the Document model. :param model_type: The model_type of this Model. :type: str r r �UNKNOWN_ENUM_VALUEN)r r1 )rH r �allowed_valuesrJ rJ rK r o s c C s | j S )z� Gets the tenancy_id of this Model. The tenancy id of the model. :return: The tenancy_id of this Model. :rtype: str �r2 rN rJ rJ rK r ~ s zModel.tenancy_idc C s || _ dS )z� Sets the tenancy_id of this Model. The tenancy id of the model. :param tenancy_id: The tenancy_id of this Model. :type: str NrT )rH r rJ rJ rK r � s c C s | j S )z� Gets the alias_name of this Model. the alias name of the model. :return: The alias_name of this Model. :rtype: str �r3 rN rJ rJ rK r � s zModel.alias_namec C s || _ dS )z� Sets the alias_name of this Model. the alias name of the model. :param alias_name: The alias_name of this Model. :type: str NrU )rH r rJ rJ rK r � s c C s | j S )z� Gets the labels of this Model. The collection of labels used to train the custom model. :return: The labels of this Model. :rtype: list[str] �r4 rN rJ rJ rK r � s zModel.labelsc C s || _ dS )z� Sets the labels of this Model. The collection of labels used to train the custom model. :param labels: The labels of this Model. :type: list[str] NrV )rH r rJ rJ rK r � s c C s | j S )a' Gets the is_quick_mode of this Model. Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data. :return: The is_quick_mode of this Model. :rtype: bool �r5 rN rJ rJ rK r � s zModel.is_quick_modec C s || _ dS )a3 Sets the is_quick_mode of this Model. Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data. :param is_quick_mode: The is_quick_mode of this Model. :type: bool NrW )rH r rJ rJ rK r � s c C s | j S )z� Gets the max_training_time_in_hours of this Model. The maximum model training time in hours, expressed as a decimal fraction. :return: The max_training_time_in_hours of this Model. :rtype: float �r6 rN rJ rJ rK r � s z Model.max_training_time_in_hoursc C s || _ dS )a Sets the max_training_time_in_hours of this Model. The maximum model training time in hours, expressed as a decimal fraction. :param max_training_time_in_hours: The max_training_time_in_hours of this Model. :type: float NrX )rH r rJ rJ rK r � s c C s | j S )z� Gets the trained_time_in_hours of this Model. The total hours actually used for model training. :return: The trained_time_in_hours of this Model. :rtype: float �r7 rN rJ rJ rK r � s zModel.trained_time_in_hoursc C s || _ dS )z� Sets the trained_time_in_hours of this Model. The total hours actually used for model training. :param trained_time_in_hours: The trained_time_in_hours of this Model. :type: float NrY )rH r rJ rJ rK r s c C s | j S )z� Gets the training_dataset of this Model. :return: The training_dataset of this Model. :rtype: oci.ai_document.models.Dataset �r8 rN rJ rJ rK r s zModel.training_datasetc C s || _ dS )z� Sets the training_dataset of this Model. :param training_dataset: The training_dataset of this Model. :type: oci.ai_document.models.Dataset NrZ )rH r rJ rJ rK r s c C s | j S )z� Gets the testing_dataset of this Model. :return: The testing_dataset of this Model. :rtype: oci.ai_document.models.Dataset �r9 rN rJ rJ rK r " s zModel.testing_datasetc C s || _ dS )z� Sets the testing_dataset of this Model. :param testing_dataset: The testing_dataset of this Model. :type: oci.ai_document.models.Dataset Nr[ )rH r rJ rJ rK r , s c C s | j S )z� Gets the validation_dataset of this Model. :return: The validation_dataset of this Model. :rtype: oci.ai_document.models.Dataset �r: rN rJ rJ rK r 6 s zModel.validation_datasetc C s || _ dS )z� Sets the validation_dataset of this Model. :param validation_dataset: The validation_dataset of this Model. :type: oci.ai_document.models.Dataset Nr\ )rH r rJ rJ rK r @ s c C s | j S )aa Gets the component_models of this Model. The `OCID`__ collection of active custom Key Value models that need to be composed. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The component_models of this Model. :rtype: list[oci.ai_document.models.ComponentModel] �r; rN rJ rJ rK r J s zModel.component_modelsc C s || _ dS )ap Sets the component_models of this Model. The `OCID`__ collection of active custom Key Value models that need to be composed. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param component_models: The component_models of this Model. :type: list[oci.ai_document.models.ComponentModel] Nr] )rH r rJ rJ rK r X s c C s | j S )z� Gets the is_composed_model of this Model. Set to true when the model is created by using multiple key value extraction models. :return: The is_composed_model of this Model. :rtype: bool �r<