
com.pulumi.azurenative.machinelearningservices.outputs.ImageClassificationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.machinelearningservices.outputs;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageLimitSettingsResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageModelDistributionSettingsClassificationResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageModelSettingsClassificationResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageSweepSettingsResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.MLTableJobInputResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ImageClassificationResponse {
/**
* @return [Required] Limit settings for the AutoML job.
*
*/
private ImageLimitSettingsResponse limitSettings;
/**
* @return Log verbosity for the job.
*
*/
private @Nullable String logVerbosity;
/**
* @return Settings used for training the model.
*
*/
private @Nullable ImageModelSettingsClassificationResponse modelSettings;
/**
* @return Primary metric to optimize for this task.
*
*/
private @Nullable String primaryMetric;
/**
* @return Search space for sampling different combinations of models and their hyperparameters.
*
*/
private @Nullable List searchSpace;
/**
* @return Model sweeping and hyperparameter sweeping related settings.
*
*/
private @Nullable ImageSweepSettingsResponse sweepSettings;
/**
* @return Target column name: This is prediction values column.
* Also known as label column name in context of classification tasks.
*
*/
private @Nullable String targetColumnName;
/**
* @return AutoMLJob Task type.
* Expected value is 'ImageClassification'.
*
*/
private String taskType;
/**
* @return [Required] Training data input.
*
*/
private MLTableJobInputResponse trainingData;
/**
* @return Validation data inputs.
*
*/
private @Nullable MLTableJobInputResponse validationData;
/**
* @return The fraction of training dataset that needs to be set aside for validation purpose.
* Values between (0.0 , 1.0)
* Applied when validation dataset is not provided.
*
*/
private @Nullable Double validationDataSize;
private ImageClassificationResponse() {}
/**
* @return [Required] Limit settings for the AutoML job.
*
*/
public ImageLimitSettingsResponse limitSettings() {
return this.limitSettings;
}
/**
* @return Log verbosity for the job.
*
*/
public Optional logVerbosity() {
return Optional.ofNullable(this.logVerbosity);
}
/**
* @return Settings used for training the model.
*
*/
public Optional modelSettings() {
return Optional.ofNullable(this.modelSettings);
}
/**
* @return Primary metric to optimize for this task.
*
*/
public Optional primaryMetric() {
return Optional.ofNullable(this.primaryMetric);
}
/**
* @return Search space for sampling different combinations of models and their hyperparameters.
*
*/
public List searchSpace() {
return this.searchSpace == null ? List.of() : this.searchSpace;
}
/**
* @return Model sweeping and hyperparameter sweeping related settings.
*
*/
public Optional sweepSettings() {
return Optional.ofNullable(this.sweepSettings);
}
/**
* @return Target column name: This is prediction values column.
* Also known as label column name in context of classification tasks.
*
*/
public Optional targetColumnName() {
return Optional.ofNullable(this.targetColumnName);
}
/**
* @return AutoMLJob Task type.
* Expected value is 'ImageClassification'.
*
*/
public String taskType() {
return this.taskType;
}
/**
* @return [Required] Training data input.
*
*/
public MLTableJobInputResponse trainingData() {
return this.trainingData;
}
/**
* @return Validation data inputs.
*
*/
public Optional validationData() {
return Optional.ofNullable(this.validationData);
}
/**
* @return The fraction of training dataset that needs to be set aside for validation purpose.
* Values between (0.0 , 1.0)
* Applied when validation dataset is not provided.
*
*/
public Optional validationDataSize() {
return Optional.ofNullable(this.validationDataSize);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ImageClassificationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private ImageLimitSettingsResponse limitSettings;
private @Nullable String logVerbosity;
private @Nullable ImageModelSettingsClassificationResponse modelSettings;
private @Nullable String primaryMetric;
private @Nullable List searchSpace;
private @Nullable ImageSweepSettingsResponse sweepSettings;
private @Nullable String targetColumnName;
private String taskType;
private MLTableJobInputResponse trainingData;
private @Nullable MLTableJobInputResponse validationData;
private @Nullable Double validationDataSize;
public Builder() {}
public Builder(ImageClassificationResponse defaults) {
Objects.requireNonNull(defaults);
this.limitSettings = defaults.limitSettings;
this.logVerbosity = defaults.logVerbosity;
this.modelSettings = defaults.modelSettings;
this.primaryMetric = defaults.primaryMetric;
this.searchSpace = defaults.searchSpace;
this.sweepSettings = defaults.sweepSettings;
this.targetColumnName = defaults.targetColumnName;
this.taskType = defaults.taskType;
this.trainingData = defaults.trainingData;
this.validationData = defaults.validationData;
this.validationDataSize = defaults.validationDataSize;
}
@CustomType.Setter
public Builder limitSettings(ImageLimitSettingsResponse limitSettings) {
if (limitSettings == null) {
throw new MissingRequiredPropertyException("ImageClassificationResponse", "limitSettings");
}
this.limitSettings = limitSettings;
return this;
}
@CustomType.Setter
public Builder logVerbosity(@Nullable String logVerbosity) {
this.logVerbosity = logVerbosity;
return this;
}
@CustomType.Setter
public Builder modelSettings(@Nullable ImageModelSettingsClassificationResponse modelSettings) {
this.modelSettings = modelSettings;
return this;
}
@CustomType.Setter
public Builder primaryMetric(@Nullable String primaryMetric) {
this.primaryMetric = primaryMetric;
return this;
}
@CustomType.Setter
public Builder searchSpace(@Nullable List searchSpace) {
this.searchSpace = searchSpace;
return this;
}
public Builder searchSpace(ImageModelDistributionSettingsClassificationResponse... searchSpace) {
return searchSpace(List.of(searchSpace));
}
@CustomType.Setter
public Builder sweepSettings(@Nullable ImageSweepSettingsResponse sweepSettings) {
this.sweepSettings = sweepSettings;
return this;
}
@CustomType.Setter
public Builder targetColumnName(@Nullable String targetColumnName) {
this.targetColumnName = targetColumnName;
return this;
}
@CustomType.Setter
public Builder taskType(String taskType) {
if (taskType == null) {
throw new MissingRequiredPropertyException("ImageClassificationResponse", "taskType");
}
this.taskType = taskType;
return this;
}
@CustomType.Setter
public Builder trainingData(MLTableJobInputResponse trainingData) {
if (trainingData == null) {
throw new MissingRequiredPropertyException("ImageClassificationResponse", "trainingData");
}
this.trainingData = trainingData;
return this;
}
@CustomType.Setter
public Builder validationData(@Nullable MLTableJobInputResponse validationData) {
this.validationData = validationData;
return this;
}
@CustomType.Setter
public Builder validationDataSize(@Nullable Double validationDataSize) {
this.validationDataSize = validationDataSize;
return this;
}
public ImageClassificationResponse build() {
final var _resultValue = new ImageClassificationResponse();
_resultValue.limitSettings = limitSettings;
_resultValue.logVerbosity = logVerbosity;
_resultValue.modelSettings = modelSettings;
_resultValue.primaryMetric = primaryMetric;
_resultValue.searchSpace = searchSpace;
_resultValue.sweepSettings = sweepSettings;
_resultValue.targetColumnName = targetColumnName;
_resultValue.taskType = taskType;
_resultValue.trainingData = trainingData;
_resultValue.validationData = validationData;
_resultValue.validationDataSize = validationDataSize;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy