Delen via


TargetConfidenceScoreLabel Class

Definition

Represents the confidence scores across all sentiment classes: positive and negative.

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

Properties

Negative

Confidence score for negative sentiment.

Positive

Confidence score for positive sentiment.

Explicit Interface Implementations

IJsonModel<TargetConfidenceScoreLabel>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TargetConfidenceScoreLabel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetConfidenceScoreLabel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetConfidenceScoreLabel>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TargetConfidenceScoreLabel>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to