Condividi tramite


MachineLearningStackEnsembleSettings Class

Definition

Advances setting to customize StackEnsemble run.

public class MachineLearningStackEnsembleSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningStackEnsembleSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningStackEnsembleSettings>
public class MachineLearningStackEnsembleSettings
type MachineLearningStackEnsembleSettings = class
    interface IJsonModel<MachineLearningStackEnsembleSettings>
    interface IPersistableModel<MachineLearningStackEnsembleSettings>
type MachineLearningStackEnsembleSettings = class
Public Class MachineLearningStackEnsembleSettings
Implements IJsonModel(Of MachineLearningStackEnsembleSettings), IPersistableModel(Of MachineLearningStackEnsembleSettings)
Public Class MachineLearningStackEnsembleSettings
Inheritance
MachineLearningStackEnsembleSettings
Implements

Constructors

MachineLearningStackEnsembleSettings()

Initializes a new instance of MachineLearningStackEnsembleSettings.

Properties

StackMetaLearnerKWargs

Optional parameters to pass to the initializer of the meta-learner.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

StackMetaLearnerTrainPercentage

Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2.

StackMetaLearnerType

The meta-learner is a model trained on the output of the individual heterogeneous models.

Explicit Interface Implementations

IJsonModel<MachineLearningStackEnsembleSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningStackEnsembleSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningStackEnsembleSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningStackEnsembleSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningStackEnsembleSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to