Class StackEnsembleSettings
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.StackEnsembleSettings
-
public final class StackEnsembleSettings extends Object
Advances setting to customize StackEnsemble run.
-
-
Constructor Summary
Constructors Constructor Description StackEnsembleSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
stackMetaLearnerKWargs()
Get the stackMetaLearnerKWargs property: Optional parameters to pass to the initializer of the meta-learner.Double
stackMetaLearnerTrainPercentage()
Get the stackMetaLearnerTrainPercentage property: Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner.StackMetaLearnerType
stackMetaLearnerType()
Get the stackMetaLearnerType property: The meta-learner is a model trained on the output of the individual heterogeneous models.void
validate()
Validates the instance.StackEnsembleSettings
withStackMetaLearnerKWargs(Object stackMetaLearnerKWargs)
Set the stackMetaLearnerKWargs property: Optional parameters to pass to the initializer of the meta-learner.StackEnsembleSettings
withStackMetaLearnerTrainPercentage(Double stackMetaLearnerTrainPercentage)
Set the stackMetaLearnerTrainPercentage property: Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner.StackEnsembleSettings
withStackMetaLearnerType(StackMetaLearnerType stackMetaLearnerType)
Set the stackMetaLearnerType property: The meta-learner is a model trained on the output of the individual heterogeneous models.
-
-
-
Method Detail
-
stackMetaLearnerKWargs
public Object stackMetaLearnerKWargs()
Get the stackMetaLearnerKWargs property: Optional parameters to pass to the initializer of the meta-learner.- Returns:
- the stackMetaLearnerKWargs value.
-
withStackMetaLearnerKWargs
public StackEnsembleSettings withStackMetaLearnerKWargs(Object stackMetaLearnerKWargs)
Set the stackMetaLearnerKWargs property: Optional parameters to pass to the initializer of the meta-learner.- Parameters:
stackMetaLearnerKWargs
- the stackMetaLearnerKWargs value to set.- Returns:
- the StackEnsembleSettings object itself.
-
stackMetaLearnerTrainPercentage
public Double stackMetaLearnerTrainPercentage()
Get the stackMetaLearnerTrainPercentage property: 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.- Returns:
- the stackMetaLearnerTrainPercentage value.
-
withStackMetaLearnerTrainPercentage
public StackEnsembleSettings withStackMetaLearnerTrainPercentage(Double stackMetaLearnerTrainPercentage)
Set the stackMetaLearnerTrainPercentage property: 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.- Parameters:
stackMetaLearnerTrainPercentage
- the stackMetaLearnerTrainPercentage value to set.- Returns:
- the StackEnsembleSettings object itself.
-
stackMetaLearnerType
public StackMetaLearnerType stackMetaLearnerType()
Get the stackMetaLearnerType property: The meta-learner is a model trained on the output of the individual heterogeneous models.- Returns:
- the stackMetaLearnerType value.
-
withStackMetaLearnerType
public StackEnsembleSettings withStackMetaLearnerType(StackMetaLearnerType stackMetaLearnerType)
Set the stackMetaLearnerType property: The meta-learner is a model trained on the output of the individual heterogeneous models.- Parameters:
stackMetaLearnerType
- the stackMetaLearnerType value to set.- Returns:
- the StackEnsembleSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-