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


TextSentimentEvalSummary Class

Definition

Represents the evaluation summary for a custom text sentiment project.

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

Properties

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.

SpanSentimentsEvaluation

Represents evaluation of span level sentiments.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TextSentimentEvalSummary>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextSentimentEvalSummary>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TextSentimentEvalSummary>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextSentimentEvalSummary>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextSentimentEvalSummary>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to