📂 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.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: named_entity_recognition_evaluation_result.cpython-39.pyc
a ���f6 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�EvaluationResultSummary� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�&NamedEntityRecognitionEvaluationResultz+ Possible NER model error analysis c K sV ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _d | _dS )a8 Initializes a new NamedEntityRecognitionEvaluationResult object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_language.models.NamedEntityRecognitionEvaluationResult.model_type` attribute of this class is ``NAMED_ENTITY_RECOGNITION`` and it should not be changed. 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 NamedEntityRecognitionEvaluationResult. :type model_type: str :param freeform_tags: The value to assign to the freeform_tags property of this NamedEntityRecognitionEvaluationResult. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this NamedEntityRecognitionEvaluationResult. :type defined_tags: dict(str, dict(str, object)) :param record: The value to assign to the record property of this NamedEntityRecognitionEvaluationResult. :type record: str :param true_entities: The value to assign to the true_entities property of this NamedEntityRecognitionEvaluationResult. :type true_entities: list[oci.ai_language.models.EntityLabelErrorAnalysis] :param predicted_entities: The value to assign to the predicted_entities property of this NamedEntityRecognitionEvaluationResult. :type predicted_entities: list[oci.ai_language.models.EntityLabelErrorAnalysis] �strzdict(str, str)zdict(str, dict(str, object))zlist[EntityLabelErrorAnalysis])Z model_typeZ freeform_tagsZdefined_tags�record� true_entities�predicted_entitiesZ modelTypeZfreeformTagsZdefinedTagsr ZtrueEntitiesZpredictedEntitiesNZNAMED_ENTITY_RECOGNITION)Z swagger_typesZ attribute_mapZ_model_typeZ_freeform_tagsZ _defined_tags�_record�_true_entities�_predicted_entities)�self�kwargs� r �e/usr/lib/python3.9/site-packages/oci/ai_language/models/named_entity_recognition_evaluation_result.py�__init__ s* � � z/NamedEntityRecognitionEvaluationResult.__init__c C s | j S )a5 **[Required]** Gets the record of this NamedEntityRecognitionEvaluationResult. For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata) :return: The record of this NamedEntityRecognitionEvaluationResult. :rtype: str �r �r r r r r K s z-NamedEntityRecognitionEvaluationResult.recordc C s || _ dS )a+ Sets the record of this NamedEntityRecognitionEvaluationResult. For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata) :param record: The record of this NamedEntityRecognitionEvaluationResult. :type: str Nr )r r r r r r W s c C s | j S )aC **[Required]** Gets the true_entities of this NamedEntityRecognitionEvaluationResult. List of true(actual) entities in test data for NER model :return: The true_entities of this NamedEntityRecognitionEvaluationResult. :rtype: list[oci.ai_language.models.EntityLabelErrorAnalysis] �r r r r r r c s z4NamedEntityRecognitionEvaluationResult.true_entitiesc C s || _ dS )a@ Sets the true_entities of this NamedEntityRecognitionEvaluationResult. List of true(actual) entities in test data for NER model :param true_entities: The true_entities of this NamedEntityRecognitionEvaluationResult. :type: list[oci.ai_language.models.EntityLabelErrorAnalysis] Nr )r r r r r r o s c C s | j S )aM **[Required]** Gets the predicted_entities of this NamedEntityRecognitionEvaluationResult. List of true(actual) entities in test data for NER model :return: The predicted_entities of this NamedEntityRecognitionEvaluationResult. :rtype: list[oci.ai_language.models.EntityLabelErrorAnalysis] �r r r r r r { s z9NamedEntityRecognitionEvaluationResult.predicted_entitiesc C s || _ dS )aO Sets the predicted_entities of this NamedEntityRecognitionEvaluationResult. List of true(actual) entities in test data for NER model :param predicted_entities: The predicted_entities of this NamedEntityRecognitionEvaluationResult. :type: list[oci.ai_language.models.EntityLabelErrorAnalysis] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z/NamedEntityRecognitionEvaluationResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z-NamedEntityRecognitionEvaluationResult.__eq__c C s | |k S r r r r r r �__ne__� s z-NamedEntityRecognitionEvaluationResult.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"