Interface TuningJobCompletionCriteria.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TuningJobCompletionCriteria.Builder,
,TuningJobCompletionCriteria> SdkBuilder<TuningJobCompletionCriteria.Builder,
,TuningJobCompletionCriteria> SdkPojo
- Enclosing class:
TuningJobCompletionCriteria
-
Method Summary
Modifier and TypeMethodDescriptionbestObjectiveNotImproving
(Consumer<BestObjectiveNotImproving.Builder> bestObjectiveNotImproving) A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.bestObjectiveNotImproving
(BestObjectiveNotImproving bestObjectiveNotImproving) A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.convergenceDetected
(Consumer<ConvergenceDetected.Builder> convergenceDetected) A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.convergenceDetected
(ConvergenceDetected convergenceDetected) A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.targetObjectiveMetricValue
(Float targetObjectiveMetricValue) The value of the objective metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
targetObjectiveMetricValue
The value of the objective metric.
- Parameters:
targetObjectiveMetricValue
- The value of the objective metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bestObjectiveNotImproving
TuningJobCompletionCriteria.Builder bestObjectiveNotImproving(BestObjectiveNotImproving bestObjectiveNotImproving) A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.
- Parameters:
bestObjectiveNotImproving
- A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bestObjectiveNotImproving
default TuningJobCompletionCriteria.Builder bestObjectiveNotImproving(Consumer<BestObjectiveNotImproving.Builder> bestObjectiveNotImproving) A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.
This is a convenience method that creates an instance of theBestObjectiveNotImproving.Builder
avoiding the need to create one manually viaBestObjectiveNotImproving.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobestObjectiveNotImproving(BestObjectiveNotImproving)
.- Parameters:
bestObjectiveNotImproving
- a consumer that will call methods onBestObjectiveNotImproving.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
convergenceDetected
A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.
- Parameters:
convergenceDetected
- A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
convergenceDetected
default TuningJobCompletionCriteria.Builder convergenceDetected(Consumer<ConvergenceDetected.Builder> convergenceDetected) A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.
This is a convenience method that creates an instance of theConvergenceDetected.Builder
avoiding the need to create one manually viaConvergenceDetected.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconvergenceDetected(ConvergenceDetected)
.- Parameters:
convergenceDetected
- a consumer that will call methods onConvergenceDetected.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-