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


EntityRecognitionEvalSummary Class

Definition

Represents the evaluation summary for a custom entity recognition project.

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

Properties

ConfusionMatrix

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

Entities

Represents the entities evaluation.

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<EntityRecognitionEvalSummary>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntityRecognitionEvalSummary>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntityRecognitionEvalSummary>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntityRecognitionEvalSummary>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntityRecognitionEvalSummary>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to