Поделиться через


SingleLabelClassificationEvalSummary Class

Definition

Represents the evaluation summary for a custom single-label classification project.

public class SingleLabelClassificationEvalSummary : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.Authoring.SingleLabelClassificationEvalSummary>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.Authoring.SingleLabelClassificationEvalSummary>
type SingleLabelClassificationEvalSummary = class
    interface IJsonModel<SingleLabelClassificationEvalSummary>
    interface IPersistableModel<SingleLabelClassificationEvalSummary>
Public Class SingleLabelClassificationEvalSummary
Implements IJsonModel(Of SingleLabelClassificationEvalSummary), IPersistableModel(Of SingleLabelClassificationEvalSummary)
Inheritance
SingleLabelClassificationEvalSummary
Implements

Properties

Classes

Represents the classes evaluation.

ConfusionMatrix

Represents the confusion matrix between two classes (the two classes can be the same). The matrix is between the class that was labelled and the class that was predicted.

MacroF1

Represents the macro F1. Expected value is a float between 0 and 1 inclusive.

MacroPrecision

Represents the macro precision. Expected value is a float between 0 and 1 inclusive.

MacroRecall

Represents the macro recall. Expected value is a float between 0 and 1 inclusive.

MicroF1

Represents the micro F1. Expected value is a float between 0 and 1 inclusive.

MicroPrecision

Represents the micro precision. Expected value is a float between 0 and 1 inclusive.

MicroRecall

Represents the micro recall. Expected value is a float between 0 and 1 inclusive.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SingleLabelClassificationEvalSummary>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SingleLabelClassificationEvalSummary>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SingleLabelClassificationEvalSummary>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SingleLabelClassificationEvalSummary>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SingleLabelClassificationEvalSummary>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to