다음을 통해 공유


ClassificationResult Class

Definition

Contains the classification result.

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

Properties

Category

Classification type.

ConfidenceScore

Confidence score between 0 and 1 of the recognized class.

Explicit Interface Implementations

IJsonModel<ClassificationResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClassificationResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClassificationResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClassificationResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClassificationResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to