public static interface TuningJobCompletionCriteria.Builder extends SdkPojo, CopyableBuilder<TuningJobCompletionCriteria.Builder,TuningJobCompletionCriteria>
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
TuningJobCompletionCriteria.Builder |
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.
|
TuningJobCompletionCriteria.Builder |
targetObjectiveMetricValue(Float targetObjectiveMetricValue)
The value of the objective metric.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TuningJobCompletionCriteria.Builder targetObjectiveMetricValue(Float targetObjectiveMetricValue)
The value of the objective metric.
targetObjectiveMetricValue
- The value of the objective metric.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.
bestObjectiveNotImproving
- A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated
against an objective function.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 via BestObjectiveNotImproving.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to bestObjectiveNotImproving(BestObjectiveNotImproving)
.
bestObjectiveNotImproving
- a consumer that will call methods on BestObjectiveNotImproving.Builder
bestObjectiveNotImproving(BestObjectiveNotImproving)
TuningJobCompletionCriteria.Builder 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.
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.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 via ConvergenceDetected.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to convergenceDetected(ConvergenceDetected)
.
convergenceDetected
- a consumer that will call methods on ConvergenceDetected.Builder
convergenceDetected(ConvergenceDetected)
Copyright © 2023. All rights reserved.