Class TableVerticalLimitSettings
java.lang.Object
com.azure.resourcemanager.machinelearning.models.TableVerticalLimitSettings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TableVerticalLimitSettings>
public final class TableVerticalLimitSettings
extends Object
implements com.azure.json.JsonSerializable<TableVerticalLimitSettings>
Job execution constraints.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TableVerticalLimitSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.Get the exitScore property: Exit score for the AutoML job.static TableVerticalLimitSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TableVerticalLimitSettings from the JsonReader.Get the maxConcurrentTrials property: Maximum Concurrent iterations.Get the maxCoresPerTrial property: Max cores per iteration.Get the maxTrials property: Number of iterations.timeout()Get the timeout property: AutoML job timeout.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the trialTimeout property: Iteration timeout.voidvalidate()Validates the instance.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.withExitScore(Double exitScore) Set the exitScore property: Exit score for the AutoML job.withMaxConcurrentTrials(Integer maxConcurrentTrials) Set the maxConcurrentTrials property: Maximum Concurrent iterations.withMaxCoresPerTrial(Integer maxCoresPerTrial) Set the maxCoresPerTrial property: Max cores per iteration.withMaxTrials(Integer maxTrials) Set the maxTrials property: Number of iterations.withTimeout(Duration timeout) Set the timeout property: AutoML job timeout.withTrialTimeout(Duration trialTimeout) Set the trialTimeout property: Iteration timeout.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TableVerticalLimitSettings
public TableVerticalLimitSettings()Creates an instance of TableVerticalLimitSettings class.
-
-
Method Details
-
maxTrials
Get the maxTrials property: Number of iterations.- Returns:
- the maxTrials value.
-
withMaxTrials
Set the maxTrials property: Number of iterations.- Parameters:
maxTrials- the maxTrials value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
trialTimeout
Get the trialTimeout property: Iteration timeout.- Returns:
- the trialTimeout value.
-
withTrialTimeout
Set the trialTimeout property: Iteration timeout.- Parameters:
trialTimeout- the trialTimeout value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
timeout
Get the timeout property: AutoML job timeout.- Returns:
- the timeout value.
-
withTimeout
Set the timeout property: AutoML job timeout.- Parameters:
timeout- the timeout value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
maxConcurrentTrials
Get the maxConcurrentTrials property: Maximum Concurrent iterations.- Returns:
- the maxConcurrentTrials value.
-
withMaxConcurrentTrials
Set the maxConcurrentTrials property: Maximum Concurrent iterations.- Parameters:
maxConcurrentTrials- the maxConcurrentTrials value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
maxCoresPerTrial
Get the maxCoresPerTrial property: Max cores per iteration.- Returns:
- the maxCoresPerTrial value.
-
withMaxCoresPerTrial
Set the maxCoresPerTrial property: Max cores per iteration.- Parameters:
maxCoresPerTrial- the maxCoresPerTrial value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
exitScore
Get the exitScore property: Exit score for the AutoML job.- Returns:
- the exitScore value.
-
withExitScore
Set the exitScore property: Exit score for the AutoML job.- Parameters:
exitScore- the exitScore value to set.- Returns:
- the TableVerticalLimitSettings object itself.
-
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
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TableVerticalLimitSettings>- Throws:
IOException
-
fromJson
public static TableVerticalLimitSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of TableVerticalLimitSettings from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TableVerticalLimitSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the TableVerticalLimitSettings.
-