Interface Evaluation.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Evaluation.Builder,,- Evaluation> - SdkBuilder<Evaluation.Builder,,- Evaluation> - SdkPojo
- Enclosing class:
- Evaluation
- 
Method SummaryModifier and TypeMethodDescriptioncomputeTime(Long computeTime) Sets the value of the ComputeTime property for this object.The time that theEvaluationwas created.createdByIamUser(String createdByIamUser) The AWS user account that invoked the evaluation.evaluationDataSourceId(String evaluationDataSourceId) The ID of theDataSourcethat is used to evaluate theMLModel.evaluationId(String evaluationId) The ID that is assigned to theEvaluationat creation.finishedAt(Instant finishedAt) Sets the value of the FinishedAt property for this object.inputDataLocationS3(String inputDataLocationS3) The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.lastUpdatedAt(Instant lastUpdatedAt) The time of the most recent edit to theEvaluation.A description of the most recent details about evaluating theMLModel.The ID of theMLModelthat is the focus of the evaluation.A user-supplied name or description of theEvaluation.default Evaluation.BuilderperformanceMetrics(Consumer<PerformanceMetrics.Builder> performanceMetrics) Measurements of how well theMLModelperformed, using observations referenced by theDataSource.performanceMetrics(PerformanceMetrics performanceMetrics) Measurements of how well theMLModelperformed, using observations referenced by theDataSource.Sets the value of the StartedAt property for this object.The status of the evaluation.status(EntityStatus status) The status of the evaluation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
evaluationIdThe ID that is assigned to the Evaluationat creation.- Parameters:
- evaluationId- The ID that is assigned to the- Evaluationat creation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mlModelIdThe ID of the MLModelthat is the focus of the evaluation.- Parameters:
- mlModelId- The ID of the- MLModelthat is the focus of the evaluation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
evaluationDataSourceIdThe ID of the DataSourcethat is used to evaluate theMLModel.- Parameters:
- evaluationDataSourceId- The ID of the- DataSourcethat is used to evaluate the- MLModel.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
inputDataLocationS3The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation. - Parameters:
- inputDataLocationS3- The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdByIamUserThe AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. - Parameters:
- createdByIamUser- The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdAtThe time that the Evaluationwas created. The time is expressed in epoch time.- Parameters:
- createdAt- The time that the- Evaluationwas created. The time is expressed in epoch time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lastUpdatedAtThe time of the most recent edit to the Evaluation. The time is expressed in epoch time.- Parameters:
- lastUpdatedAt- The time of the most recent edit to the- Evaluation. The time is expressed in epoch time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameA user-supplied name or description of the Evaluation.- Parameters:
- name- A user-supplied name or description of the- Evaluation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of the evaluation. This element can have one of the following values: - 
 PENDING- Amazon Machine Learning (Amazon ML) submitted a request to evaluate anMLModel.
- 
 INPROGRESS- The evaluation is underway.
- 
 FAILED- The request to evaluate anMLModeldid not run to completion. It is not usable.
- 
 COMPLETED- The evaluation process completed successfully.
- 
 DELETED- TheEvaluationis marked as deleted. It is not usable.
 - Parameters:
- status- The status of the evaluation. This element can have one of the following values:- 
        PENDING- Amazon Machine Learning (Amazon ML) submitted a request to evaluate anMLModel.
- 
        INPROGRESS- The evaluation is underway.
- 
        FAILED- The request to evaluate anMLModeldid not run to completion. It is not usable.
- 
        COMPLETED- The evaluation process completed successfully.
- 
        DELETED- TheEvaluationis marked as deleted. It is not usable.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
statusThe status of the evaluation. This element can have one of the following values: - 
 PENDING- Amazon Machine Learning (Amazon ML) submitted a request to evaluate anMLModel.
- 
 INPROGRESS- The evaluation is underway.
- 
 FAILED- The request to evaluate anMLModeldid not run to completion. It is not usable.
- 
 COMPLETED- The evaluation process completed successfully.
- 
 DELETED- TheEvaluationis marked as deleted. It is not usable.
 - Parameters:
- status- The status of the evaluation. This element can have one of the following values:- 
        PENDING- Amazon Machine Learning (Amazon ML) submitted a request to evaluate anMLModel.
- 
        INPROGRESS- The evaluation is underway.
- 
        FAILED- The request to evaluate anMLModeldid not run to completion. It is not usable.
- 
        COMPLETED- The evaluation process completed successfully.
- 
        DELETED- TheEvaluationis marked as deleted. It is not usable.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
performanceMetricsMeasurements of how well the MLModelperformed, using observations referenced by theDataSource. One of the following metrics is returned, based on the type of theMLModel:- 
 BinaryAUC: A binary MLModeluses the Area Under the Curve (AUC) technique to measure performance.
- 
 RegressionRMSE: A regression MLModeluses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.
- 
 MulticlassAvgFScore: A multiclass MLModeluses the F1 score technique to measure performance.
 For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. - Parameters:
- performanceMetrics- Measurements of how well the- MLModelperformed, using observations referenced by the- DataSource. One of the following metrics is returned, based on the type of the- MLModel:- 
        BinaryAUC: A binary MLModeluses the Area Under the Curve (AUC) technique to measure performance.
- 
        RegressionRMSE: A regression MLModeluses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.
- 
        MulticlassAvgFScore: A multiclass MLModeluses the F1 score technique to measure performance.
 - For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
performanceMetricsdefault Evaluation.Builder performanceMetrics(Consumer<PerformanceMetrics.Builder> performanceMetrics) Measurements of how well the MLModelperformed, using observations referenced by theDataSource. One of the following metrics is returned, based on the type of theMLModel:- 
 BinaryAUC: A binary MLModeluses the Area Under the Curve (AUC) technique to measure performance.
- 
 RegressionRMSE: A regression MLModeluses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.
- 
 MulticlassAvgFScore: A multiclass MLModeluses the F1 score technique to measure performance.
 For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. This is a convenience method that creates an instance of thePerformanceMetrics.Builderavoiding the need to create one manually viaPerformanceMetrics.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformanceMetrics(PerformanceMetrics).- Parameters:
- performanceMetrics- a consumer that will call methods on- PerformanceMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
messageA description of the most recent details about evaluating the MLModel.- Parameters:
- message- A description of the most recent details about evaluating the- MLModel.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
computeTimeSets the value of the ComputeTime property for this object.- Parameters:
- computeTime- The new value for the ComputeTime property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
finishedAtSets the value of the FinishedAt property for this object.- Parameters:
- finishedAt- The new value for the FinishedAt property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
startedAtSets the value of the StartedAt property for this object.- Parameters:
- startedAt- The new value for the StartedAt property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-