Class TableVerticalLimitSettings
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.TableVerticalLimitSettings
-
public final class TableVerticalLimitSettings extends Object
Job execution constraints.
-
-
Constructor Summary
Constructors Constructor Description TableVerticalLimitSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enableEarlyTermination()
Get the enableEarlyTermination property: Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.Double
exitScore()
Get the exitScore property: Exit score for the AutoML job.Integer
maxConcurrentTrials()
Get the maxConcurrentTrials property: Maximum Concurrent iterations.Integer
maxCoresPerTrial()
Get the maxCoresPerTrial property: Max cores per iteration.Integer
maxTrials()
Get the maxTrials property: Number of iterations.Duration
timeout()
Get the timeout property: AutoML job timeout.Duration
trialTimeout()
Get the trialTimeout property: Iteration timeout.void
validate()
Validates the instance.TableVerticalLimitSettings
withEnableEarlyTermination(Boolean enableEarlyTermination)
Set the enableEarlyTermination property: Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.TableVerticalLimitSettings
withExitScore(Double exitScore)
Set the exitScore property: Exit score for the AutoML job.TableVerticalLimitSettings
withMaxConcurrentTrials(Integer maxConcurrentTrials)
Set the maxConcurrentTrials property: Maximum Concurrent iterations.TableVerticalLimitSettings
withMaxCoresPerTrial(Integer maxCoresPerTrial)
Set the maxCoresPerTrial property: Max cores per iteration.TableVerticalLimitSettings
withMaxTrials(Integer maxTrials)
Set the maxTrials property: Number of iterations.TableVerticalLimitSettings
withTimeout(Duration timeout)
Set the timeout property: AutoML job timeout.TableVerticalLimitSettings
withTrialTimeout(Duration trialTimeout)
Set the trialTimeout property: Iteration timeout.
-
-
-
Method Detail
-
enableEarlyTermination
public Boolean enableEarlyTermination()
Get the enableEarlyTermination property: Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.- Returns:
- the enableEarlyTermination value.
-
withEnableEarlyTermination
public TableVerticalLimitSettings withEnableEarlyTermination(Boolean enableEarlyTermination)
Set the enableEarlyTermination property: Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.- Parameters:
enableEarlyTermination
- the enableEarlyTermination value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
exitScore
public Double exitScore()
Get the exitScore property: Exit score for the AutoML job.- Returns:
- the exitScore value.
-
withExitScore
public TableVerticalLimitSettings withExitScore(Double exitScore)
Set the exitScore property: Exit score for the AutoML job.- Parameters:
exitScore
- the exitScore value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
maxConcurrentTrials
public Integer maxConcurrentTrials()
Get the maxConcurrentTrials property: Maximum Concurrent iterations.- Returns:
- the maxConcurrentTrials value.
-
withMaxConcurrentTrials
public TableVerticalLimitSettings withMaxConcurrentTrials(Integer maxConcurrentTrials)
Set the maxConcurrentTrials property: Maximum Concurrent iterations.- Parameters:
maxConcurrentTrials
- the maxConcurrentTrials value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
maxCoresPerTrial
public Integer maxCoresPerTrial()
Get the maxCoresPerTrial property: Max cores per iteration.- Returns:
- the maxCoresPerTrial value.
-
withMaxCoresPerTrial
public TableVerticalLimitSettings withMaxCoresPerTrial(Integer maxCoresPerTrial)
Set the maxCoresPerTrial property: Max cores per iteration.- Parameters:
maxCoresPerTrial
- the maxCoresPerTrial value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
maxTrials
public Integer maxTrials()
Get the maxTrials property: Number of iterations.- Returns:
- the maxTrials value.
-
withMaxTrials
public TableVerticalLimitSettings withMaxTrials(Integer maxTrials)
Set the maxTrials property: Number of iterations.- Parameters:
maxTrials
- the maxTrials value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
timeout
public Duration timeout()
Get the timeout property: AutoML job timeout.- Returns:
- the timeout value.
-
withTimeout
public TableVerticalLimitSettings withTimeout(Duration timeout)
Set the timeout property: AutoML job timeout.- Parameters:
timeout
- the timeout value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
trialTimeout
public Duration trialTimeout()
Get the trialTimeout property: Iteration timeout.- Returns:
- the trialTimeout value.
-
withTrialTimeout
public TableVerticalLimitSettings withTrialTimeout(Duration trialTimeout)
Set the trialTimeout property: Iteration timeout.- Parameters:
trialTimeout
- the trialTimeout value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-