📂 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: text_classification_evaluation_results.cpython-39.pyc
a ���fc � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�EvaluationResults� )�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 ed d� �Z e jdd� �Z dd� Zdd� Zdd� Z dS )�#TextClassificationEvaluationResultszB Text Classification model testing and evaluation results c K sL dddddd�| _ ddd d dd�| _d| _d| _d| _d| _d| _d | _dS )aO Initializes a new TextClassificationEvaluationResults object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_language.models.TextClassificationEvaluationResults.model_type` attribute of this class is ``TEXT_CLASSIFICATION`` 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 TextClassificationEvaluationResults. :type model_type: str :param metrics: The value to assign to the metrics property of this TextClassificationEvaluationResults. :type metrics: oci.ai_language.models.TextClassificationModelMetrics :param class_metrics: The value to assign to the class_metrics property of this TextClassificationEvaluationResults. :type class_metrics: list[oci.ai_language.models.ClassMetrics] :param confusion_matrix: The value to assign to the confusion_matrix property of this TextClassificationEvaluationResults. :type confusion_matrix: dict(str, ConfusionMatrixDetails) :param labels: The value to assign to the labels property of this TextClassificationEvaluationResults. :type labels: list[str] �strZTextClassificationModelMetricszlist[ClassMetrics]z!dict(str, ConfusionMatrixDetails)z list[str])Z model_type�metrics� class_metrics�confusion_matrix�labelsZ modelTyper ZclassMetricsZconfusionMatrixr NZTEXT_CLASSIFICATION)Z swagger_typesZ attribute_mapZ_model_type�_metrics�_class_metrics�_confusion_matrix�_labels)�self�kwargs� r �a/usr/lib/python3.9/site-packages/oci/ai_language/models/text_classification_evaluation_results.py�__init__ s$ � �z,TextClassificationEvaluationResults.__init__c C s | j S )z� Gets the metrics of this TextClassificationEvaluationResults. :return: The metrics of this TextClassificationEvaluationResults. :rtype: oci.ai_language.models.TextClassificationModelMetrics �r �r r r r r D s z+TextClassificationEvaluationResults.metricsc C s || _ dS )z� Sets the metrics of this TextClassificationEvaluationResults. :param metrics: The metrics of this TextClassificationEvaluationResults. :type: oci.ai_language.models.TextClassificationModelMetrics Nr )r r r r r r N s c C s | j S )a Gets the class_metrics of this TextClassificationEvaluationResults. List of text classification metrics :return: The class_metrics of this TextClassificationEvaluationResults. :rtype: list[oci.ai_language.models.ClassMetrics] �r r r r r r X s z1TextClassificationEvaluationResults.class_metricsc C s || _ dS )a Sets the class_metrics of this TextClassificationEvaluationResults. List of text classification metrics :param class_metrics: The class_metrics of this TextClassificationEvaluationResults. :type: list[oci.ai_language.models.ClassMetrics] Nr )r r r r r r d s c C s | j S )a Gets the confusion_matrix of this TextClassificationEvaluationResults. class level confusion matrix :return: The confusion_matrix of this TextClassificationEvaluationResults. :rtype: dict(str, ConfusionMatrixDetails) �r r r r r r p s z4TextClassificationEvaluationResults.confusion_matrixc C s || _ dS )a Sets the confusion_matrix of this TextClassificationEvaluationResults. class level confusion matrix :param confusion_matrix: The confusion_matrix of this TextClassificationEvaluationResults. :type: dict(str, ConfusionMatrixDetails) Nr )r r r r r r | s c C s | j S )z� Gets the labels of this TextClassificationEvaluationResults. labels :return: The labels of this TextClassificationEvaluationResults. :rtype: list[str] �r r r r r r � s z*TextClassificationEvaluationResults.labelsc C s || _ dS )z� Sets the labels of this TextClassificationEvaluationResults. labels :param labels: The labels of this TextClassificationEvaluationResults. :type: list[str] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z,TextClassificationEvaluationResults.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z*TextClassificationEvaluationResults.__eq__c C s | |k S r r r r r r �__ne__� s z*TextClassificationEvaluationResults.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r! r"