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 Details

    • TableVerticalLimitSettings

      public TableVerticalLimitSettings()
      Creates an instance of TableVerticalLimitSettings class.
  • Method Details

    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.