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


DataGenerationSetting Class

Definition

Represents the settings for using data generation as part of training a custom model.

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

Constructors

DataGenerationSetting(Boolean, DataGenerationConnectionInfo)

Initializes a new instance of DataGenerationSetting.

Properties

DataGenerationConnectionInfo

Represents the connection info for the Azure resource to use during data generation as part of training a custom model.

EnableDataGeneration

If set to true, augment customer provided training data with synthetic data to improve model quality.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataGenerationSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataGenerationSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataGenerationSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataGenerationSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataGenerationSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to