SpanSentimentEvalSummary Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the evaluation summary for a custom sentiment project.
public class SpanSentimentEvalSummary : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.Authoring.SpanSentimentEvalSummary>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.Authoring.SpanSentimentEvalSummary>
type SpanSentimentEvalSummary = class
interface IJsonModel<SpanSentimentEvalSummary>
interface IPersistableModel<SpanSentimentEvalSummary>
Public Class SpanSentimentEvalSummary
Implements IJsonModel(Of SpanSentimentEvalSummary), IPersistableModel(Of SpanSentimentEvalSummary)
- Inheritance
-
SpanSentimentEvalSummary
- Implements
Properties
ConfusionMatrix |
Represents the confusion matrix between two sentiments (the two sentiments can be the same). The matrix is between the sentiment that was labelled and the sentiment 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. |
Sentiments |
Represents the sentiment evaluation. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<SpanSentimentEvalSummary>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SpanSentimentEvalSummary>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SpanSentimentEvalSummary>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SpanSentimentEvalSummary>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SpanSentimentEvalSummary>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |