ruạṛ
a M��f� � @ 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 )�'TextClassificationModelEvaluationResultz, Possible TXTC model error analysis c K sV ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _d | _dS )a� Initializes a new TextClassificationModelEvaluationResult object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_language.models.TextClassificationModelEvaluationResult.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 TextClassificationModelEvaluationResult. :type model_type: str :param freeform_tags: The value to assign to the freeform_tags property of this TextClassificationModelEvaluationResult. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this TextClassificationModelEvaluationResult. :type defined_tags: dict(str, dict(str, object)) :param location: The value to assign to the location property of this TextClassificationModelEvaluationResult. :type location: str :param true_labels: The value to assign to the true_labels property of this TextClassificationModelEvaluationResult. :type true_labels: list[str] :param predicted_labels: The value to assign to the predicted_labels property of this TextClassificationModelEvaluationResult. :type predicted_labels: list[str] �strzdict(str, str)zdict(str, dict(str, object))z list[str])� model_type� freeform_tags�defined_tags�location�true_labels�predicted_labels� modelType�freeformTags�definedTagsr � trueLabels�predictedLabelsN�TEXT_CLASSIFICATION)� swagger_types� attribute_map�_model_type�_freeform_tags� _defined_tags� _location�_true_labels�_predicted_labels)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/ai_language/models/text_classification_model_evaluation_result.py�__init__ s* � � z0TextClassificationModelEvaluationResult.__init__c C s | j S )a; **[Required]** Gets the location of this TextClassificationModelEvaluationResult. For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata) :return: The location of this TextClassificationModelEvaluationResult. :rtype: str �r �r r r r! r I s z0TextClassificationModelEvaluationResult.locationc C s || _ dS )a3 Sets the location of this TextClassificationModelEvaluationResult. For CSV format location is rowId(1 is header) and for JSONL location is jsonL line sequence(1 is metadata) :param location: The location of this TextClassificationModelEvaluationResult. :type: str Nr# )r r r r r! r U s c C s | j S )a7 **[Required]** Gets the true_labels of this TextClassificationModelEvaluationResult. List of true(actual) labels in test data for multi class or multi label TextClassification :return: The true_labels of this TextClassificationModelEvaluationResult. :rtype: list[str] �r r$ r r r! r a s z3TextClassificationModelEvaluationResult.true_labelsc C s || _ dS )a2 Sets the true_labels of this TextClassificationModelEvaluationResult. List of true(actual) labels in test data for multi class or multi label TextClassification :param true_labels: The true_labels of this TextClassificationModelEvaluationResult. :type: list[str] Nr% )r r r r r! r m s c C s | j S )a. Gets the predicted_labels of this TextClassificationModelEvaluationResult. List of predicted labels by custom multi class or multi label TextClassification model :return: The predicted_labels of this TextClassificationModelEvaluationResult. :rtype: list[str] �r r$ r r r! r y s z8TextClassificationModelEvaluationResult.predicted_labelsc C s || _ dS )a= Sets the predicted_labels of this TextClassificationModelEvaluationResult. List of predicted labels by custom multi class or multi label TextClassification model :param predicted_labels: The predicted_labels of this TextClassificationModelEvaluationResult. :type: list[str] Nr&