public static interface GetEvaluationResponse.Builder extends MachineLearningResponse.Builder, CopyableBuilder<GetEvaluationResponse.Builder,GetEvaluationResponse>
Modifier and Type | Method and Description |
---|---|
GetEvaluationResponse.Builder |
computeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
Evaluation , normalized and scaled on computation resources. |
GetEvaluationResponse.Builder |
createdAt(Instant createdAt)
The time that the
Evaluation was created. |
GetEvaluationResponse.Builder |
createdByIamUser(String createdByIamUser)
The AWS user account that invoked the evaluation.
|
GetEvaluationResponse.Builder |
evaluationDataSourceId(String evaluationDataSourceId)
The
DataSource used for this evaluation. |
GetEvaluationResponse.Builder |
evaluationId(String evaluationId)
The evaluation ID which is same as the
EvaluationId in the request. |
GetEvaluationResponse.Builder |
finishedAt(Instant finishedAt)
The epoch time when Amazon Machine Learning marked the
Evaluation as COMPLETED or
FAILED . |
GetEvaluationResponse.Builder |
inputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
|
GetEvaluationResponse.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time of the most recent edit to the
Evaluation . |
GetEvaluationResponse.Builder |
logUri(String logUri)
A link to the file that contains logs of the
CreateEvaluation operation. |
GetEvaluationResponse.Builder |
message(String message)
A description of the most recent details about evaluating the
MLModel . |
GetEvaluationResponse.Builder |
mlModelId(String mlModelId)
The ID of the
MLModel that was the focus of the evaluation. |
GetEvaluationResponse.Builder |
name(String name)
A user-supplied name or description of the
Evaluation . |
default GetEvaluationResponse.Builder |
performanceMetrics(Consumer<PerformanceMetrics.Builder> performanceMetrics)
Measurements of how well the
MLModel performed using observations referenced by the
DataSource . |
GetEvaluationResponse.Builder |
performanceMetrics(PerformanceMetrics performanceMetrics)
Measurements of how well the
MLModel performed using observations referenced by the
DataSource . |
GetEvaluationResponse.Builder |
startedAt(Instant startedAt)
The epoch time when Amazon Machine Learning marked the
Evaluation as INPROGRESS . |
GetEvaluationResponse.Builder |
status(EntityStatus status)
The status of the evaluation.
|
GetEvaluationResponse.Builder |
status(String status)
The status of the evaluation.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetEvaluationResponse.Builder evaluationId(String evaluationId)
The evaluation ID which is same as the EvaluationId
in the request.
evaluationId
- The evaluation ID which is same as the EvaluationId
in the request.GetEvaluationResponse.Builder mlModelId(String mlModelId)
The ID of the MLModel
that was the focus of the evaluation.
mlModelId
- The ID of the MLModel
that was the focus of the evaluation.GetEvaluationResponse.Builder evaluationDataSourceId(String evaluationDataSourceId)
The DataSource
used for this evaluation.
evaluationDataSourceId
- The DataSource
used for this evaluation.GetEvaluationResponse.Builder inputDataLocationS3(String inputDataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
inputDataLocationS3
- The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).GetEvaluationResponse.Builder createdByIamUser(String 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.
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.GetEvaluationResponse.Builder createdAt(Instant createdAt)
The time that the Evaluation
was created. The time is expressed in epoch time.
createdAt
- The time that the Evaluation
was created. The time is expressed in epoch time.GetEvaluationResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time of the most recent edit to the Evaluation
. The time is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the Evaluation
. The time is expressed in epoch time.GetEvaluationResponse.Builder name(String name)
A user-supplied name or description of the Evaluation
.
name
- A user-supplied name or description of the Evaluation
.GetEvaluationResponse.Builder status(String status)
The status of the evaluation. This element can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted a request to evaluate an
MLModel
.INPROGRESS
- The evaluation is underway.FAILED
- The request to evaluate an MLModel
did not run to completion. It is
not usable.COMPLETED
- The evaluation process completed successfully.DELETED
- The Evaluation
is marked as deleted. It is not usable.status
- The status of the evaluation. This element can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted a request to evaluate an
MLModel
.INPROGRESS
- The evaluation is underway.FAILED
- The request to evaluate an MLModel
did not run to completion.
It is not usable.COMPLETED
- The evaluation process completed successfully.DELETED
- The Evaluation
is marked as deleted. It is not usable.EntityStatus
,
EntityStatus
GetEvaluationResponse.Builder status(EntityStatus status)
The status of the evaluation. This element can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted a request to evaluate an
MLModel
.INPROGRESS
- The evaluation is underway.FAILED
- The request to evaluate an MLModel
did not run to completion. It is
not usable.COMPLETED
- The evaluation process completed successfully.DELETED
- The Evaluation
is marked as deleted. It is not usable.status
- The status of the evaluation. This element can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted a request to evaluate an
MLModel
.INPROGRESS
- The evaluation is underway.FAILED
- The request to evaluate an MLModel
did not run to completion.
It is not usable.COMPLETED
- The evaluation process completed successfully.DELETED
- The Evaluation
is marked as deleted. It is not usable.EntityStatus
,
EntityStatus
GetEvaluationResponse.Builder performanceMetrics(PerformanceMetrics performanceMetrics)
Measurements of how well the MLModel
performed using observations referenced by the
DataSource
. One of the following metric is returned based on the type of the
MLModel
:
BinaryAUC: A binary MLModel
uses the Area Under the Curve (AUC) technique to measure
performance.
RegressionRMSE: A regression MLModel
uses 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 MLModel
uses the F1 score technique to measure performance.
For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.
performanceMetrics
- Measurements of how well the MLModel
performed using observations referenced by the
DataSource
. One of the following metric is returned based on the type of the
MLModel
:
BinaryAUC: A binary MLModel
uses the Area Under the Curve (AUC) technique to measure
performance.
RegressionRMSE: A regression MLModel
uses 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 MLModel
uses the F1 score technique to measure
performance.
For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.
default GetEvaluationResponse.Builder performanceMetrics(Consumer<PerformanceMetrics.Builder> performanceMetrics)
Measurements of how well the MLModel
performed using observations referenced by the
DataSource
. One of the following metric is returned based on the type of the
MLModel
:
BinaryAUC: A binary MLModel
uses the Area Under the Curve (AUC) technique to measure
performance.
RegressionRMSE: A regression MLModel
uses 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 MLModel
uses 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 that creates an instance of thePerformanceMetrics.Builder
avoiding the need to
create one manually via PerformanceMetrics.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to performanceMetrics(PerformanceMetrics)
.performanceMetrics
- a consumer that will call methods on PerformanceMetrics.Builder
performanceMetrics(PerformanceMetrics)
GetEvaluationResponse.Builder logUri(String logUri)
A link to the file that contains logs of the CreateEvaluation
operation.
logUri
- A link to the file that contains logs of the CreateEvaluation
operation.GetEvaluationResponse.Builder message(String message)
A description of the most recent details about evaluating the MLModel
.
message
- A description of the most recent details about evaluating the MLModel
.GetEvaluationResponse.Builder computeTime(Long computeTime)
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
Evaluation
, normalized and scaled on computation resources. ComputeTime
is only
available if the Evaluation
is in the COMPLETED
state.
computeTime
- The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the
Evaluation
, normalized and scaled on computation resources. ComputeTime
is
only available if the Evaluation
is in the COMPLETED
state.GetEvaluationResponse.Builder finishedAt(Instant finishedAt)
The epoch time when Amazon Machine Learning marked the Evaluation
as COMPLETED
or
FAILED
. FinishedAt
is only available when the Evaluation
is in the
COMPLETED
or FAILED
state.
finishedAt
- The epoch time when Amazon Machine Learning marked the Evaluation
as
COMPLETED
or FAILED
. FinishedAt
is only available when the
Evaluation
is in the COMPLETED
or FAILED
state.GetEvaluationResponse.Builder startedAt(Instant startedAt)
The epoch time when Amazon Machine Learning marked the Evaluation
as INPROGRESS
.
StartedAt
isn't available if the Evaluation
is in the PENDING
state.
startedAt
- The epoch time when Amazon Machine Learning marked the Evaluation
as
INPROGRESS
. StartedAt
isn't available if the Evaluation
is in
the PENDING
state.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.