📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
ai_language
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/ai_language/models/__pycache__
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: evaluation_result_summary.cpython-39.opt-1.pyc
a ���f| � @ 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 ZdZdd� Zedd� �Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�EvaluationResultSummaryz7 model evaluation analysis of different models c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a Initializes a new EvaluationResultSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.ai_language.models.NamedEntityRecognitionEvaluationResult` * :class:`~oci.ai_language.models.TextClassificationModelEvaluationResult` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this EvaluationResultSummary. :type model_type: str :param freeform_tags: The value to assign to the freeform_tags property of this EvaluationResultSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this EvaluationResultSummary. :type defined_tags: dict(str, dict(str, object)) �strzdict(str, str)zdict(str, dict(str, object)))� model_type� freeform_tags�defined_tags� modelTypeZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_model_type�_freeform_tags� _defined_tags)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/ai_language/models/evaluation_result_summary.py�__init__ s ��z EvaluationResultSummary.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r ZNAMED_ENTITY_RECOGNITIONZ&NamedEntityRecognitionEvaluationResultZTEXT_CLASSIFICATIONZ'TextClassificationModelEvaluationResultr Nr )Zobject_dictionary�typer r r �get_subtype9 s z#EvaluationResultSummary.get_subtypec C s | j S )z� **[Required]** Gets the model_type of this EvaluationResultSummary. Model type :return: The model_type of this EvaluationResultSummary. :rtype: str �r �r r r r r I s z"EvaluationResultSummary.model_typec C s || _ dS )z� Sets the model_type of this EvaluationResultSummary. Model type :param model_type: The model_type of this EvaluationResultSummary. :type: str Nr )r r r r r r U s c C s | j S )aU Gets the freeform_tags of this EvaluationResultSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this EvaluationResultSummary. :rtype: dict(str, str) �r r r r r r a s z%EvaluationResultSummary.freeform_tagsc C s || _ dS )aa Sets the freeform_tags of this EvaluationResultSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this EvaluationResultSummary. :type: dict(str, str) Nr )r r r r r r n s c C s | j S )aO Gets the defined_tags of this EvaluationResultSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this EvaluationResultSummary. :rtype: dict(str, dict(str, object)) �r r r r r r { s z$EvaluationResultSummary.defined_tagsc C s || _ dS )aZ Sets the defined_tags of this EvaluationResultSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this EvaluationResultSummary. :type: dict(str, dict(str, object)) Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z EvaluationResultSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zEvaluationResultSummary.__eq__c C s | |k S r r r r r r �__ne__� s zEvaluationResultSummary.__ne__N)�__name__� __module__�__qualname__�__doc__r �staticmethodr �propertyr �setterr r r r r r r r r r s&