![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.ClassificationTrainingSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.ClassificationTrainingSettingsArgs.builder
import com.pulumi.azurenative.machinelearningservices.kotlin.enums.ClassificationModels
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Classification Training related configuration.
* @property allowedTrainingAlgorithms Allowed models for classification task.
* @property blockedTrainingAlgorithms Blocked models for classification task.
* @property enableDnnTraining Enable recommendation of DNN models.
* @property enableModelExplainability Flag to turn on explainability on best model.
* @property enableOnnxCompatibleModels Flag for enabling onnx compatible models.
* @property enableStackEnsemble Enable stack ensemble run.
* @property enableVoteEnsemble Enable voting ensemble run.
* @property ensembleModelDownloadTimeout During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded.
* Configure this parameter with a higher value than 300 secs, if more time is needed.
* @property stackEnsembleSettings Stack ensemble settings for stack ensemble run.
*/
public data class ClassificationTrainingSettingsArgs(
public val allowedTrainingAlgorithms: Output>>? = null,
public val blockedTrainingAlgorithms: Output>>? = null,
public val enableDnnTraining: Output? = null,
public val enableModelExplainability: Output? = null,
public val enableOnnxCompatibleModels: Output? = null,
public val enableStackEnsemble: Output? = null,
public val enableVoteEnsemble: Output? = null,
public val ensembleModelDownloadTimeout: Output? = null,
public val stackEnsembleSettings: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.ClassificationTrainingSettingsArgs =
com.pulumi.azurenative.machinelearningservices.inputs.ClassificationTrainingSettingsArgs.builder()
.allowedTrainingAlgorithms(
allowedTrainingAlgorithms?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
})
}),
)
.blockedTrainingAlgorithms(
blockedTrainingAlgorithms?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
})
}),
)
.enableDnnTraining(enableDnnTraining?.applyValue({ args0 -> args0 }))
.enableModelExplainability(enableModelExplainability?.applyValue({ args0 -> args0 }))
.enableOnnxCompatibleModels(enableOnnxCompatibleModels?.applyValue({ args0 -> args0 }))
.enableStackEnsemble(enableStackEnsemble?.applyValue({ args0 -> args0 }))
.enableVoteEnsemble(enableVoteEnsemble?.applyValue({ args0 -> args0 }))
.ensembleModelDownloadTimeout(ensembleModelDownloadTimeout?.applyValue({ args0 -> args0 }))
.stackEnsembleSettings(
stackEnsembleSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ClassificationTrainingSettingsArgs].
*/
@PulumiTagMarker
public class ClassificationTrainingSettingsArgsBuilder internal constructor() {
private var allowedTrainingAlgorithms: Output>>? = null
private var blockedTrainingAlgorithms: Output>>? = null
private var enableDnnTraining: Output? = null
private var enableModelExplainability: Output? = null
private var enableOnnxCompatibleModels: Output? = null
private var enableStackEnsemble: Output? = null
private var enableVoteEnsemble: Output? = null
private var ensembleModelDownloadTimeout: Output? = null
private var stackEnsembleSettings: Output? = null
/**
* @param value Allowed models for classification task.
*/
@JvmName("vghrebaivnaojuwv")
public suspend fun allowedTrainingAlgorithms(`value`: Output>>) {
this.allowedTrainingAlgorithms = value
}
@JvmName("htnnkdohjwtmfrey")
public suspend fun allowedTrainingAlgorithms(vararg values: Output>) {
this.allowedTrainingAlgorithms = Output.all(values.asList())
}
/**
* @param values Allowed models for classification task.
*/
@JvmName("glsvfxnovgitoxvv")
public suspend fun allowedTrainingAlgorithms(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy