📂 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_model_metrics.cpython-39.opt-1.pyc
a ���fE3 � @ 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 @ s4 e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zd"d#� Zd$d%� Zd&d'� Zd(S ))�TextClassificationModelMetricsz1 Model level text classification metrics c K sx ddddddddddd� | _ ddddddd d ddd� | _d | _d | _d | _d | _d | _d | _d | _d | _ d | _ d | _d S )aR Initializes a new TextClassificationModelMetrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param accuracy: The value to assign to the accuracy property of this TextClassificationModelMetrics. :type accuracy: float :param micro_f1: The value to assign to the micro_f1 property of this TextClassificationModelMetrics. :type micro_f1: float :param micro_precision: The value to assign to the micro_precision property of this TextClassificationModelMetrics. :type micro_precision: float :param micro_recall: The value to assign to the micro_recall property of this TextClassificationModelMetrics. :type micro_recall: float :param macro_f1: The value to assign to the macro_f1 property of this TextClassificationModelMetrics. :type macro_f1: float :param macro_precision: The value to assign to the macro_precision property of this TextClassificationModelMetrics. :type macro_precision: float :param macro_recall: The value to assign to the macro_recall property of this TextClassificationModelMetrics. :type macro_recall: float :param weighted_f1: The value to assign to the weighted_f1 property of this TextClassificationModelMetrics. :type weighted_f1: float :param weighted_precision: The value to assign to the weighted_precision property of this TextClassificationModelMetrics. :type weighted_precision: float :param weighted_recall: The value to assign to the weighted_recall property of this TextClassificationModelMetrics. :type weighted_recall: float �float) �accuracy�micro_f1�micro_precision�micro_recall�macro_f1�macro_precision�macro_recall�weighted_f1�weighted_precision�weighted_recallr ZmicroF1ZmicroPrecisionZmicroRecallZmacroF1ZmacroPrecisionZmacroRecallZ weightedF1ZweightedPrecisionZweightedRecallN)Z swagger_typesZ attribute_map� _accuracy� _micro_f1�_micro_precision� _micro_recall� _macro_f1�_macro_precision� _macro_recall�_weighted_f1�_weighted_precision�_weighted_recall)�self�kwargs� r �\/usr/lib/python3.9/site-packages/oci/ai_language/models/text_classification_model_metrics.py�__init__ s@ /�� z'TextClassificationModelMetrics.__init__c C s | j S )z� **[Required]** Gets the accuracy of this TextClassificationModelMetrics. The fraction of the labels that were correctly recognised . :return: The accuracy of this TextClassificationModelMetrics. :rtype: float �r �r r r r r e s z'TextClassificationModelMetrics.accuracyc C s || _ dS )z� Sets the accuracy of this TextClassificationModelMetrics. The fraction of the labels that were correctly recognised . :param accuracy: The accuracy of this TextClassificationModelMetrics. :type: float Nr! )r r r r r r q s c C s | j S )u� **[Required]** Gets the micro_f1 of this TextClassificationModelMetrics. F1-score, is a measure of a model’s accuracy on a dataset :return: The micro_f1 of this TextClassificationModelMetrics. :rtype: float �r r"