Class AbstractAmazonMachineLearningAsync
- All Implemented Interfaces:
AmazonMachineLearning
,AmazonMachineLearningAsync
AmazonMachineLearningAsync
. Convenient
method forms pass through to the corresponding overload that takes a request
object and an AsyncHandler
, which throws an
UnsupportedOperationException
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerates predictions for a group of observations.createBatchPredictionAsync
(CreateBatchPredictionRequest request, AsyncHandler<CreateBatchPredictionRequest, CreateBatchPredictionResult> asyncHandler) Generates predictions for a group of observations.Creates aDataSource
object from an Amazon Relational Database Service (Amazon RDS).createDataSourceFromRDSAsync
(CreateDataSourceFromRDSRequest request, AsyncHandler<CreateDataSourceFromRDSRequest, CreateDataSourceFromRDSResult> asyncHandler) Creates aDataSource
object from an Amazon Relational Database Service (Amazon RDS).Creates aDataSource
from Amazon Redshift.createDataSourceFromRedshiftAsync
(CreateDataSourceFromRedshiftRequest request, AsyncHandler<CreateDataSourceFromRedshiftRequest, CreateDataSourceFromRedshiftResult> asyncHandler) Creates aDataSource
from Amazon Redshift.Creates aDataSource
object.createDataSourceFromS3Async
(CreateDataSourceFromS3Request request, AsyncHandler<CreateDataSourceFromS3Request, CreateDataSourceFromS3Result> asyncHandler) Creates aDataSource
object.Creates a newEvaluation
of anMLModel
.createEvaluationAsync
(CreateEvaluationRequest request, AsyncHandler<CreateEvaluationRequest, CreateEvaluationResult> asyncHandler) Creates a newEvaluation
of anMLModel
.createMLModelAsync
(CreateMLModelRequest request) Creates a newMLModel
using the data files and the recipe as information sources.createMLModelAsync
(CreateMLModelRequest request, AsyncHandler<CreateMLModelRequest, CreateMLModelResult> asyncHandler) Creates a newMLModel
using the data files and the recipe as information sources.Creates a real-time endpoint for theMLModel
.createRealtimeEndpointAsync
(CreateRealtimeEndpointRequest request, AsyncHandler<CreateRealtimeEndpointRequest, CreateRealtimeEndpointResult> asyncHandler) Creates a real-time endpoint for theMLModel
.Assigns the DELETED status to aBatchPrediction
, rendering it unusable.deleteBatchPredictionAsync
(DeleteBatchPredictionRequest request, AsyncHandler<DeleteBatchPredictionRequest, DeleteBatchPredictionResult> asyncHandler) Assigns the DELETED status to aBatchPrediction
, rendering it unusable.Assigns the DELETED status to aDataSource
, rendering it unusable.deleteDataSourceAsync
(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest, DeleteDataSourceResult> asyncHandler) Assigns the DELETED status to aDataSource
, rendering it unusable.Assigns theDELETED
status to anEvaluation
, rendering it unusable.deleteEvaluationAsync
(DeleteEvaluationRequest request, AsyncHandler<DeleteEvaluationRequest, DeleteEvaluationResult> asyncHandler) Assigns theDELETED
status to anEvaluation
, rendering it unusable.deleteMLModelAsync
(DeleteMLModelRequest request) Assigns the DELETED status to anMLModel
, rendering it unusable.deleteMLModelAsync
(DeleteMLModelRequest request, AsyncHandler<DeleteMLModelRequest, DeleteMLModelResult> asyncHandler) Assigns the DELETED status to anMLModel
, rendering it unusable.Deletes a real time endpoint of anMLModel
.deleteRealtimeEndpointAsync
(DeleteRealtimeEndpointRequest request, AsyncHandler<DeleteRealtimeEndpointRequest, DeleteRealtimeEndpointResult> asyncHandler) Deletes a real time endpoint of anMLModel
.Simplified method form for invoking the DescribeBatchPredictions operation.describeBatchPredictionsAsync
(AsyncHandler<DescribeBatchPredictionsRequest, DescribeBatchPredictionsResult> asyncHandler) Simplified method form for invoking the DescribeBatchPredictions operation with an AsyncHandler.Returns a list ofBatchPrediction
operations that match the search criteria in the request.describeBatchPredictionsAsync
(DescribeBatchPredictionsRequest request, AsyncHandler<DescribeBatchPredictionsRequest, DescribeBatchPredictionsResult> asyncHandler) Returns a list ofBatchPrediction
operations that match the search criteria in the request.Simplified method form for invoking the DescribeDataSources operation.describeDataSourcesAsync
(AsyncHandler<DescribeDataSourcesRequest, DescribeDataSourcesResult> asyncHandler) Simplified method form for invoking the DescribeDataSources operation with an AsyncHandler.Returns a list ofDataSource
that match the search criteria in the request.describeDataSourcesAsync
(DescribeDataSourcesRequest request, AsyncHandler<DescribeDataSourcesRequest, DescribeDataSourcesResult> asyncHandler) Returns a list ofDataSource
that match the search criteria in the request.Simplified method form for invoking the DescribeEvaluations operation.describeEvaluationsAsync
(AsyncHandler<DescribeEvaluationsRequest, DescribeEvaluationsResult> asyncHandler) Simplified method form for invoking the DescribeEvaluations operation with an AsyncHandler.Returns a list ofDescribeEvaluations
that match the search criteria in the request.describeEvaluationsAsync
(DescribeEvaluationsRequest request, AsyncHandler<DescribeEvaluationsRequest, DescribeEvaluationsResult> asyncHandler) Returns a list ofDescribeEvaluations
that match the search criteria in the request.Simplified method form for invoking the DescribeMLModels operation.Simplified method form for invoking the DescribeMLModels operation with an AsyncHandler.Returns a list ofMLModel
that match the search criteria in the request.describeMLModelsAsync
(DescribeMLModelsRequest request, AsyncHandler<DescribeMLModelsRequest, DescribeMLModelsResult> asyncHandler) Returns a list ofMLModel
that match the search criteria in the request.Returns aBatchPrediction
that includes detailed metadata, status, and data file information for aBatch Prediction
request.getBatchPredictionAsync
(GetBatchPredictionRequest request, AsyncHandler<GetBatchPredictionRequest, GetBatchPredictionResult> asyncHandler) Returns aBatchPrediction
that includes detailed metadata, status, and data file information for aBatch Prediction
request.getDataSourceAsync
(GetDataSourceRequest request) Returns aDataSource
that includes metadata and data file information, as well as the current status of theDataSource
.getDataSourceAsync
(GetDataSourceRequest request, AsyncHandler<GetDataSourceRequest, GetDataSourceResult> asyncHandler) Returns aDataSource
that includes metadata and data file information, as well as the current status of theDataSource
.getEvaluationAsync
(GetEvaluationRequest request) Returns anEvaluation
that includes metadata as well as the current status of theEvaluation
.getEvaluationAsync
(GetEvaluationRequest request, AsyncHandler<GetEvaluationRequest, GetEvaluationResult> asyncHandler) Returns anEvaluation
that includes metadata as well as the current status of theEvaluation
.getMLModelAsync
(GetMLModelRequest request) Returns anMLModel
that includes detailed metadata, and data source information as well as the current status of theMLModel
.getMLModelAsync
(GetMLModelRequest request, AsyncHandler<GetMLModelRequest, GetMLModelResult> asyncHandler) Returns anMLModel
that includes detailed metadata, and data source information as well as the current status of theMLModel
.predictAsync
(PredictRequest request) Generates a prediction for the observation using the specifiedML Model
.predictAsync
(PredictRequest request, AsyncHandler<PredictRequest, PredictResult> asyncHandler) Generates a prediction for the observation using the specifiedML Model
.Updates theBatchPredictionName
of aBatchPrediction
.updateBatchPredictionAsync
(UpdateBatchPredictionRequest request, AsyncHandler<UpdateBatchPredictionRequest, UpdateBatchPredictionResult> asyncHandler) Updates theBatchPredictionName
of aBatchPrediction
.Updates theDataSourceName
of aDataSource
.updateDataSourceAsync
(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest, UpdateDataSourceResult> asyncHandler) Updates theDataSourceName
of aDataSource
.Updates theEvaluationName
of anEvaluation
.updateEvaluationAsync
(UpdateEvaluationRequest request, AsyncHandler<UpdateEvaluationRequest, UpdateEvaluationResult> asyncHandler) Updates theEvaluationName
of anEvaluation
.updateMLModelAsync
(UpdateMLModelRequest request) Updates theMLModelName
and theScoreThreshold
of anMLModel
.updateMLModelAsync
(UpdateMLModelRequest request, AsyncHandler<UpdateMLModelRequest, UpdateMLModelResult> asyncHandler) Updates theMLModelName
and theScoreThreshold
of anMLModel
.Methods inherited from class com.amazonaws.services.machinelearning.AbstractAmazonMachineLearning
createBatchPrediction, createDataSourceFromRDS, createDataSourceFromRedshift, createDataSourceFromS3, createEvaluation, createMLModel, createRealtimeEndpoint, deleteBatchPrediction, deleteDataSource, deleteEvaluation, deleteMLModel, deleteRealtimeEndpoint, describeBatchPredictions, describeBatchPredictions, describeDataSources, describeDataSources, describeEvaluations, describeEvaluations, describeMLModels, describeMLModels, getBatchPrediction, getCachedResponseMetadata, getDataSource, getEvaluation, getMLModel, predict, setEndpoint, setRegion, shutdown, updateBatchPrediction, updateDataSource, updateEvaluation, updateMLModel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.machinelearning.AmazonMachineLearning
createBatchPrediction, createDataSourceFromRDS, createDataSourceFromRedshift, createDataSourceFromS3, createEvaluation, createMLModel, createRealtimeEndpoint, deleteBatchPrediction, deleteDataSource, deleteEvaluation, deleteMLModel, deleteRealtimeEndpoint, describeBatchPredictions, describeBatchPredictions, describeDataSources, describeDataSources, describeEvaluations, describeEvaluations, describeMLModels, describeMLModels, getBatchPrediction, getCachedResponseMetadata, getDataSource, getEvaluation, getMLModel, predict, setEndpoint, setRegion, shutdown, updateBatchPrediction, updateDataSource, updateEvaluation, updateMLModel
-
Constructor Details
-
AbstractAmazonMachineLearningAsync
protected AbstractAmazonMachineLearningAsync()
-
-
Method Details
-
createBatchPredictionAsync
public Future<CreateBatchPredictionResult> createBatchPredictionAsync(CreateBatchPredictionRequest request) Description copied from interface:AmazonMachineLearningAsync
Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a
DataSource
. This operation creates a newBatchPrediction
, and uses anMLModel
and the data files referenced by theDataSource
as information sources.CreateBatchPrediction
is an asynchronous operation. In response toCreateBatchPrediction
, Amazon Machine Learning (Amazon ML) immediately returns and sets theBatchPrediction
status toPENDING
. After theBatchPrediction
completes, Amazon ML sets the status toCOMPLETED
.You can poll for status updates by using the GetBatchPrediction operation and checking the
Status
parameter of the result. After theCOMPLETED
status appears, the results are available in the location specified by theOutputUri
parameter.- Specified by:
createBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateBatchPrediction operation returned by the service.
-
createBatchPredictionAsync
public Future<CreateBatchPredictionResult> createBatchPredictionAsync(CreateBatchPredictionRequest request, AsyncHandler<CreateBatchPredictionRequest, CreateBatchPredictionResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a
DataSource
. This operation creates a newBatchPrediction
, and uses anMLModel
and the data files referenced by theDataSource
as information sources.CreateBatchPrediction
is an asynchronous operation. In response toCreateBatchPrediction
, Amazon Machine Learning (Amazon ML) immediately returns and sets theBatchPrediction
status toPENDING
. After theBatchPrediction
completes, Amazon ML sets the status toCOMPLETED
.You can poll for status updates by using the GetBatchPrediction operation and checking the
Status
parameter of the result. After theCOMPLETED
status appears, the results are available in the location specified by theOutputUri
parameter.- Specified by:
createBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateBatchPrediction operation returned by the service.
-
createDataSourceFromRDSAsync
public Future<CreateDataSourceFromRDSResult> createDataSourceFromRDSAsync(CreateDataSourceFromRDSRequest request) Description copied from interface:AmazonMachineLearningAsync
Creates a
DataSource
object from an Amazon Relational Database Service (Amazon RDS). ADataSource
references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.CreateDataSourceFromRDS
is an asynchronous operation. In response toCreateDataSourceFromRDS
, Amazon Machine Learning (Amazon ML) immediately returns and sets theDataSource
status toPENDING
. After theDataSource
is created and ready for use, Amazon ML sets theStatus
parameter toCOMPLETED
.DataSource
inCOMPLETED
orPENDING
status can only be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.If Amazon ML cannot accept the input source, it sets the
Status
parameter toFAILED
and includes an error message in theMessage
attribute of the GetDataSource operation response.- Specified by:
createDataSourceFromRDSAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateDataSourceFromRDS operation returned by the service.
-
createDataSourceFromRDSAsync
public Future<CreateDataSourceFromRDSResult> createDataSourceFromRDSAsync(CreateDataSourceFromRDSRequest request, AsyncHandler<CreateDataSourceFromRDSRequest, CreateDataSourceFromRDSResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Creates a
DataSource
object from an Amazon Relational Database Service (Amazon RDS). ADataSource
references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.CreateDataSourceFromRDS
is an asynchronous operation. In response toCreateDataSourceFromRDS
, Amazon Machine Learning (Amazon ML) immediately returns and sets theDataSource
status toPENDING
. After theDataSource
is created and ready for use, Amazon ML sets theStatus
parameter toCOMPLETED
.DataSource
inCOMPLETED
orPENDING
status can only be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.If Amazon ML cannot accept the input source, it sets the
Status
parameter toFAILED
and includes an error message in theMessage
attribute of the GetDataSource operation response.- Specified by:
createDataSourceFromRDSAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateDataSourceFromRDS operation returned by the service.
-
createDataSourceFromRedshiftAsync
public Future<CreateDataSourceFromRedshiftResult> createDataSourceFromRedshiftAsync(CreateDataSourceFromRedshiftRequest request) Description copied from interface:AmazonMachineLearningAsync
Creates a
DataSource
from Amazon Redshift. ADataSource
references data that can be used to perform either CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.CreateDataSourceFromRedshift
is an asynchronous operation. In response toCreateDataSourceFromRedshift
, Amazon Machine Learning (Amazon ML) immediately returns and sets theDataSource
status toPENDING
. After theDataSource
is created and ready for use, Amazon ML sets theStatus
parameter toCOMPLETED
.DataSource
inCOMPLETED
orPENDING
status can only be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.If Amazon ML cannot accept the input source, it sets the
Status
parameter toFAILED
and includes an error message in theMessage
attribute of the GetDataSource operation response.The observations should exist in the database hosted on an Amazon Redshift cluster and should be specified by a
SelectSqlQuery
. Amazon ML executes Unload command in Amazon Redshift to transfer the result set ofSelectSqlQuery
toS3StagingLocation.
After the
DataSource
is created, it's ready for use in evaluations and batch predictions. If you plan to use theDataSource
to train anMLModel
, theDataSource
requires another item -- a recipe. A recipe describes the observation variables that participate in training anMLModel
. A recipe describes how each input variable will be used in training. Will the variable be included or excluded from training? Will the variable be manipulated, for example, combined with another variable or split apart into word combinations? The recipe provides answers to these questions. For more information, see the Amazon Machine Learning Developer Guide.- Specified by:
createDataSourceFromRedshiftAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateDataSourceFromRedshift operation returned by the service.
-
createDataSourceFromRedshiftAsync
public Future<CreateDataSourceFromRedshiftResult> createDataSourceFromRedshiftAsync(CreateDataSourceFromRedshiftRequest request, AsyncHandler<CreateDataSourceFromRedshiftRequest, CreateDataSourceFromRedshiftResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Creates a
DataSource
from Amazon Redshift. ADataSource
references data that can be used to perform either CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.CreateDataSourceFromRedshift
is an asynchronous operation. In response toCreateDataSourceFromRedshift
, Amazon Machine Learning (Amazon ML) immediately returns and sets theDataSource
status toPENDING
. After theDataSource
is created and ready for use, Amazon ML sets theStatus
parameter toCOMPLETED
.DataSource
inCOMPLETED
orPENDING
status can only be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.If Amazon ML cannot accept the input source, it sets the
Status
parameter toFAILED
and includes an error message in theMessage
attribute of the GetDataSource operation response.The observations should exist in the database hosted on an Amazon Redshift cluster and should be specified by a
SelectSqlQuery
. Amazon ML executes Unload command in Amazon Redshift to transfer the result set ofSelectSqlQuery
toS3StagingLocation.
After the
DataSource
is created, it's ready for use in evaluations and batch predictions. If you plan to use theDataSource
to train anMLModel
, theDataSource
requires another item -- a recipe. A recipe describes the observation variables that participate in training anMLModel
. A recipe describes how each input variable will be used in training. Will the variable be included or excluded from training? Will the variable be manipulated, for example, combined with another variable or split apart into word combinations? The recipe provides answers to these questions. For more information, see the Amazon Machine Learning Developer Guide.- Specified by:
createDataSourceFromRedshiftAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateDataSourceFromRedshift operation returned by the service.
-
createDataSourceFromS3Async
public Future<CreateDataSourceFromS3Result> createDataSourceFromS3Async(CreateDataSourceFromS3Request request) Description copied from interface:AmazonMachineLearningAsync
Creates a
DataSource
object. ADataSource
references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.CreateDataSourceFromS3
is an asynchronous operation. In response toCreateDataSourceFromS3
, Amazon Machine Learning (Amazon ML) immediately returns and sets theDataSource
status toPENDING
. After theDataSource
is created and ready for use, Amazon ML sets theStatus
parameter toCOMPLETED
.DataSource
inCOMPLETED
orPENDING
status can only be used to perform CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.If Amazon ML cannot accept the input source, it sets the
Status
parameter toFAILED
and includes an error message in theMessage
attribute of the GetDataSource operation response.The observation data used in a
DataSource
should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more CSV files in an Amazon Simple Storage Service (Amazon S3) bucket, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by theDataSource
.After the
DataSource
has been created, it's ready to use in evaluations and batch predictions. If you plan to use theDataSource
to train anMLModel
, theDataSource
requires another item: a recipe. A recipe describes the observation variables that participate in training anMLModel
. A recipe describes how each input variable will be used in training. Will the variable be included or excluded from training? Will the variable be manipulated, for example, combined with another variable, or split apart into word combinations? The recipe provides answers to these questions. For more information, see the Amazon Machine Learning Developer Guide.- Specified by:
createDataSourceFromS3Async
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateDataSourceFromS3 operation returned by the service.
-
createDataSourceFromS3Async
public Future<CreateDataSourceFromS3Result> createDataSourceFromS3Async(CreateDataSourceFromS3Request request, AsyncHandler<CreateDataSourceFromS3Request, CreateDataSourceFromS3Result> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Creates a
DataSource
object. ADataSource
references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.CreateDataSourceFromS3
is an asynchronous operation. In response toCreateDataSourceFromS3
, Amazon Machine Learning (Amazon ML) immediately returns and sets theDataSource
status toPENDING
. After theDataSource
is created and ready for use, Amazon ML sets theStatus
parameter toCOMPLETED
.DataSource
inCOMPLETED
orPENDING
status can only be used to perform CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.If Amazon ML cannot accept the input source, it sets the
Status
parameter toFAILED
and includes an error message in theMessage
attribute of the GetDataSource operation response.The observation data used in a
DataSource
should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more CSV files in an Amazon Simple Storage Service (Amazon S3) bucket, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by theDataSource
.After the
DataSource
has been created, it's ready to use in evaluations and batch predictions. If you plan to use theDataSource
to train anMLModel
, theDataSource
requires another item: a recipe. A recipe describes the observation variables that participate in training anMLModel
. A recipe describes how each input variable will be used in training. Will the variable be included or excluded from training? Will the variable be manipulated, for example, combined with another variable, or split apart into word combinations? The recipe provides answers to these questions. For more information, see the Amazon Machine Learning Developer Guide.- Specified by:
createDataSourceFromS3Async
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateDataSourceFromS3 operation returned by the service.
-
createEvaluationAsync
Description copied from interface:AmazonMachineLearningAsync
Creates a new
Evaluation
of anMLModel
. AnMLModel
is evaluated on a set of observations associated to aDataSource
. Like aDataSource
for anMLModel
, theDataSource
for anEvaluation
contains values for the Target Variable. TheEvaluation
compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective theMLModel
functions on the test data. Evaluation generates a relevant performance metric such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the correspondingMLModelType
:BINARY
,REGRESSION
orMULTICLASS
.CreateEvaluation
is an asynchronous operation. In response toCreateEvaluation
, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status toPENDING
. After theEvaluation
is created and ready for use, Amazon ML sets the status toCOMPLETED
.You can use the GetEvaluation operation to check progress of the evaluation during the creation operation.
- Specified by:
createEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateEvaluation operation returned by the service.
-
createEvaluationAsync
public Future<CreateEvaluationResult> createEvaluationAsync(CreateEvaluationRequest request, AsyncHandler<CreateEvaluationRequest, CreateEvaluationResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Creates a new
Evaluation
of anMLModel
. AnMLModel
is evaluated on a set of observations associated to aDataSource
. Like aDataSource
for anMLModel
, theDataSource
for anEvaluation
contains values for the Target Variable. TheEvaluation
compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective theMLModel
functions on the test data. Evaluation generates a relevant performance metric such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the correspondingMLModelType
:BINARY
,REGRESSION
orMULTICLASS
.CreateEvaluation
is an asynchronous operation. In response toCreateEvaluation
, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status toPENDING
. After theEvaluation
is created and ready for use, Amazon ML sets the status toCOMPLETED
.You can use the GetEvaluation operation to check progress of the evaluation during the creation operation.
- Specified by:
createEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateEvaluation operation returned by the service.
-
createMLModelAsync
Description copied from interface:AmazonMachineLearningAsync
Creates a new
MLModel
using the data files and the recipe as information sources.An
MLModel
is nearly immutable. Users can only update theMLModelName
and theScoreThreshold
in anMLModel
without creating a newMLModel
.CreateMLModel
is an asynchronous operation. In response toCreateMLModel
, Amazon Machine Learning (Amazon ML) immediately returns and sets theMLModel
status toPENDING
. After theMLModel
is created and ready for use, Amazon ML sets the status toCOMPLETED
.You can use the GetMLModel operation to check progress of the
MLModel
during the creation operation.CreateMLModel requires a
DataSource
with computed statistics, which can be created by settingComputeStatistics
totrue
in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations.- Specified by:
createMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateMLModel operation returned by the service.
-
createMLModelAsync
public Future<CreateMLModelResult> createMLModelAsync(CreateMLModelRequest request, AsyncHandler<CreateMLModelRequest, CreateMLModelResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Creates a new
MLModel
using the data files and the recipe as information sources.An
MLModel
is nearly immutable. Users can only update theMLModelName
and theScoreThreshold
in anMLModel
without creating a newMLModel
.CreateMLModel
is an asynchronous operation. In response toCreateMLModel
, Amazon Machine Learning (Amazon ML) immediately returns and sets theMLModel
status toPENDING
. After theMLModel
is created and ready for use, Amazon ML sets the status toCOMPLETED
.You can use the GetMLModel operation to check progress of the
MLModel
during the creation operation.CreateMLModel requires a
DataSource
with computed statistics, which can be created by settingComputeStatistics
totrue
in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations.- Specified by:
createMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateMLModel operation returned by the service.
-
createRealtimeEndpointAsync
public Future<CreateRealtimeEndpointResult> createRealtimeEndpointAsync(CreateRealtimeEndpointRequest request) Description copied from interface:AmazonMachineLearningAsync
Creates a real-time endpoint for the
MLModel
. The endpoint contains the URI of theMLModel
; that is, the location to send real-time prediction requests for the specifiedMLModel
.- Specified by:
createRealtimeEndpointAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateRealtimeEndpoint operation returned by the service.
-
createRealtimeEndpointAsync
public Future<CreateRealtimeEndpointResult> createRealtimeEndpointAsync(CreateRealtimeEndpointRequest request, AsyncHandler<CreateRealtimeEndpointRequest, CreateRealtimeEndpointResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Creates a real-time endpoint for the
MLModel
. The endpoint contains the URI of theMLModel
; that is, the location to send real-time prediction requests for the specifiedMLModel
.- Specified by:
createRealtimeEndpointAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateRealtimeEndpoint operation returned by the service.
-
deleteBatchPredictionAsync
public Future<DeleteBatchPredictionResult> deleteBatchPredictionAsync(DeleteBatchPredictionRequest request) Description copied from interface:AmazonMachineLearningAsync
Assigns the DELETED status to a
BatchPrediction
, rendering it unusable.After using the
DeleteBatchPrediction
operation, you can use the GetBatchPrediction operation to verify that the status of theBatchPrediction
changed to DELETED.Caution: The result of the
DeleteBatchPrediction
operation is irreversible.- Specified by:
deleteBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteBatchPrediction operation returned by the service.
-
deleteBatchPredictionAsync
public Future<DeleteBatchPredictionResult> deleteBatchPredictionAsync(DeleteBatchPredictionRequest request, AsyncHandler<DeleteBatchPredictionRequest, DeleteBatchPredictionResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Assigns the DELETED status to a
BatchPrediction
, rendering it unusable.After using the
DeleteBatchPrediction
operation, you can use the GetBatchPrediction operation to verify that the status of theBatchPrediction
changed to DELETED.Caution: The result of the
DeleteBatchPrediction
operation is irreversible.- Specified by:
deleteBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteBatchPrediction operation returned by the service.
-
deleteDataSourceAsync
Description copied from interface:AmazonMachineLearningAsync
Assigns the DELETED status to a
DataSource
, rendering it unusable.After using the
DeleteDataSource
operation, you can use the GetDataSource operation to verify that the status of theDataSource
changed to DELETED.Caution: The results of the
DeleteDataSource
operation are irreversible.- Specified by:
deleteDataSourceAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
-
deleteDataSourceAsync
public Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest, DeleteDataSourceResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Assigns the DELETED status to a
DataSource
, rendering it unusable.After using the
DeleteDataSource
operation, you can use the GetDataSource operation to verify that the status of theDataSource
changed to DELETED.Caution: The results of the
DeleteDataSource
operation are irreversible.- Specified by:
deleteDataSourceAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
-
deleteEvaluationAsync
Description copied from interface:AmazonMachineLearningAsync
Assigns the
DELETED
status to anEvaluation
, rendering it unusable.After invoking the
DeleteEvaluation
operation, you can use the GetEvaluation operation to verify that the status of theEvaluation
changed toDELETED
.Caution: The results of the
DeleteEvaluation
operation are irreversible.- Specified by:
deleteEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteEvaluation operation returned by the service.
-
deleteEvaluationAsync
public Future<DeleteEvaluationResult> deleteEvaluationAsync(DeleteEvaluationRequest request, AsyncHandler<DeleteEvaluationRequest, DeleteEvaluationResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Assigns the
DELETED
status to anEvaluation
, rendering it unusable.After invoking the
DeleteEvaluation
operation, you can use the GetEvaluation operation to verify that the status of theEvaluation
changed toDELETED
.Caution: The results of the
DeleteEvaluation
operation are irreversible.- Specified by:
deleteEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteEvaluation operation returned by the service.
-
deleteMLModelAsync
Description copied from interface:AmazonMachineLearningAsync
Assigns the DELETED status to an
MLModel
, rendering it unusable.After using the
DeleteMLModel
operation, you can use the GetMLModel operation to verify that the status of theMLModel
changed to DELETED.Caution: The result of the
DeleteMLModel
operation is irreversible.- Specified by:
deleteMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteMLModel operation returned by the service.
-
deleteMLModelAsync
public Future<DeleteMLModelResult> deleteMLModelAsync(DeleteMLModelRequest request, AsyncHandler<DeleteMLModelRequest, DeleteMLModelResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Assigns the DELETED status to an
MLModel
, rendering it unusable.After using the
DeleteMLModel
operation, you can use the GetMLModel operation to verify that the status of theMLModel
changed to DELETED.Caution: The result of the
DeleteMLModel
operation is irreversible.- Specified by:
deleteMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteMLModel operation returned by the service.
-
deleteRealtimeEndpointAsync
public Future<DeleteRealtimeEndpointResult> deleteRealtimeEndpointAsync(DeleteRealtimeEndpointRequest request) Description copied from interface:AmazonMachineLearningAsync
Deletes a real time endpoint of an
MLModel
.- Specified by:
deleteRealtimeEndpointAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteRealtimeEndpoint operation returned by the service.
-
deleteRealtimeEndpointAsync
public Future<DeleteRealtimeEndpointResult> deleteRealtimeEndpointAsync(DeleteRealtimeEndpointRequest request, AsyncHandler<DeleteRealtimeEndpointRequest, DeleteRealtimeEndpointResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Deletes a real time endpoint of an
MLModel
.- Specified by:
deleteRealtimeEndpointAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteRealtimeEndpoint operation returned by the service.
-
describeBatchPredictionsAsync
public Future<DescribeBatchPredictionsResult> describeBatchPredictionsAsync(DescribeBatchPredictionsRequest request) Description copied from interface:AmazonMachineLearningAsync
Returns a list of
BatchPrediction
operations that match the search criteria in the request.- Specified by:
describeBatchPredictionsAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeBatchPredictions operation returned by the service.
-
describeBatchPredictionsAsync
public Future<DescribeBatchPredictionsResult> describeBatchPredictionsAsync(DescribeBatchPredictionsRequest request, AsyncHandler<DescribeBatchPredictionsRequest, DescribeBatchPredictionsResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns a list of
BatchPrediction
operations that match the search criteria in the request.- Specified by:
describeBatchPredictionsAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeBatchPredictions operation returned by the service.
-
describeBatchPredictionsAsync
Simplified method form for invoking the DescribeBatchPredictions operation.- Specified by:
describeBatchPredictionsAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
describeBatchPredictionsAsync
public Future<DescribeBatchPredictionsResult> describeBatchPredictionsAsync(AsyncHandler<DescribeBatchPredictionsRequest, DescribeBatchPredictionsResult> asyncHandler) Simplified method form for invoking the DescribeBatchPredictions operation with an AsyncHandler.- Specified by:
describeBatchPredictionsAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
describeDataSourcesAsync
public Future<DescribeDataSourcesResult> describeDataSourcesAsync(DescribeDataSourcesRequest request) Description copied from interface:AmazonMachineLearningAsync
Returns a list of
DataSource
that match the search criteria in the request.- Specified by:
describeDataSourcesAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeDataSources operation returned by the service.
-
describeDataSourcesAsync
public Future<DescribeDataSourcesResult> describeDataSourcesAsync(DescribeDataSourcesRequest request, AsyncHandler<DescribeDataSourcesRequest, DescribeDataSourcesResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns a list of
DataSource
that match the search criteria in the request.- Specified by:
describeDataSourcesAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeDataSources operation returned by the service.
-
describeDataSourcesAsync
Simplified method form for invoking the DescribeDataSources operation.- Specified by:
describeDataSourcesAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
describeDataSourcesAsync
public Future<DescribeDataSourcesResult> describeDataSourcesAsync(AsyncHandler<DescribeDataSourcesRequest, DescribeDataSourcesResult> asyncHandler) Simplified method form for invoking the DescribeDataSources operation with an AsyncHandler.- Specified by:
describeDataSourcesAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
describeEvaluationsAsync
public Future<DescribeEvaluationsResult> describeEvaluationsAsync(DescribeEvaluationsRequest request) Description copied from interface:AmazonMachineLearningAsync
Returns a list of
DescribeEvaluations
that match the search criteria in the request.- Specified by:
describeEvaluationsAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeEvaluations operation returned by the service.
-
describeEvaluationsAsync
public Future<DescribeEvaluationsResult> describeEvaluationsAsync(DescribeEvaluationsRequest request, AsyncHandler<DescribeEvaluationsRequest, DescribeEvaluationsResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns a list of
DescribeEvaluations
that match the search criteria in the request.- Specified by:
describeEvaluationsAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEvaluations operation returned by the service.
-
describeEvaluationsAsync
Simplified method form for invoking the DescribeEvaluations operation.- Specified by:
describeEvaluationsAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
describeEvaluationsAsync
public Future<DescribeEvaluationsResult> describeEvaluationsAsync(AsyncHandler<DescribeEvaluationsRequest, DescribeEvaluationsResult> asyncHandler) Simplified method form for invoking the DescribeEvaluations operation with an AsyncHandler.- Specified by:
describeEvaluationsAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
describeMLModelsAsync
Description copied from interface:AmazonMachineLearningAsync
Returns a list of
MLModel
that match the search criteria in the request.- Specified by:
describeMLModelsAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeMLModels operation returned by the service.
-
describeMLModelsAsync
public Future<DescribeMLModelsResult> describeMLModelsAsync(DescribeMLModelsRequest request, AsyncHandler<DescribeMLModelsRequest, DescribeMLModelsResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns a list of
MLModel
that match the search criteria in the request.- Specified by:
describeMLModelsAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeMLModels operation returned by the service.
-
describeMLModelsAsync
Simplified method form for invoking the DescribeMLModels operation.- Specified by:
describeMLModelsAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
describeMLModelsAsync
public Future<DescribeMLModelsResult> describeMLModelsAsync(AsyncHandler<DescribeMLModelsRequest, DescribeMLModelsResult> asyncHandler) Simplified method form for invoking the DescribeMLModels operation with an AsyncHandler.- Specified by:
describeMLModelsAsync
in interfaceAmazonMachineLearningAsync
- See Also:
-
getBatchPredictionAsync
Description copied from interface:AmazonMachineLearningAsync
Returns a
BatchPrediction
that includes detailed metadata, status, and data file information for aBatch Prediction
request.- Specified by:
getBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetBatchPrediction operation returned by the service.
-
getBatchPredictionAsync
public Future<GetBatchPredictionResult> getBatchPredictionAsync(GetBatchPredictionRequest request, AsyncHandler<GetBatchPredictionRequest, GetBatchPredictionResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns a
BatchPrediction
that includes detailed metadata, status, and data file information for aBatch Prediction
request.- Specified by:
getBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetBatchPrediction operation returned by the service.
-
getDataSourceAsync
Description copied from interface:AmazonMachineLearningAsync
Returns a
DataSource
that includes metadata and data file information, as well as the current status of theDataSource
.GetDataSource
provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.- Specified by:
getDataSourceAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
-
getDataSourceAsync
public Future<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest request, AsyncHandler<GetDataSourceRequest, GetDataSourceResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns a
DataSource
that includes metadata and data file information, as well as the current status of theDataSource
.GetDataSource
provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.- Specified by:
getDataSourceAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
-
getEvaluationAsync
Description copied from interface:AmazonMachineLearningAsync
Returns an
Evaluation
that includes metadata as well as the current status of theEvaluation
.- Specified by:
getEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetEvaluation operation returned by the service.
-
getEvaluationAsync
public Future<GetEvaluationResult> getEvaluationAsync(GetEvaluationRequest request, AsyncHandler<GetEvaluationRequest, GetEvaluationResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns an
Evaluation
that includes metadata as well as the current status of theEvaluation
.- Specified by:
getEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetEvaluation operation returned by the service.
-
getMLModelAsync
Description copied from interface:AmazonMachineLearningAsync
Returns an
MLModel
that includes detailed metadata, and data source information as well as the current status of theMLModel
.GetMLModel
provides results in normal or verbose format.- Specified by:
getMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetMLModel operation returned by the service.
-
getMLModelAsync
public Future<GetMLModelResult> getMLModelAsync(GetMLModelRequest request, AsyncHandler<GetMLModelRequest, GetMLModelResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Returns an
MLModel
that includes detailed metadata, and data source information as well as the current status of theMLModel
.GetMLModel
provides results in normal or verbose format.- Specified by:
getMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetMLModel operation returned by the service.
-
predictAsync
Description copied from interface:AmazonMachineLearningAsync
Generates a prediction for the observation using the specified
ML Model
.Note Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.
- Specified by:
predictAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the Predict operation returned by the service.
-
predictAsync
public Future<PredictResult> predictAsync(PredictRequest request, AsyncHandler<PredictRequest, PredictResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Generates a prediction for the observation using the specified
ML Model
.Note Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.
- Specified by:
predictAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the Predict operation returned by the service.
-
updateBatchPredictionAsync
public Future<UpdateBatchPredictionResult> updateBatchPredictionAsync(UpdateBatchPredictionRequest request) Description copied from interface:AmazonMachineLearningAsync
Updates the
BatchPredictionName
of aBatchPrediction
.You can use the GetBatchPrediction operation to view the contents of the updated data element.
- Specified by:
updateBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the UpdateBatchPrediction operation returned by the service.
-
updateBatchPredictionAsync
public Future<UpdateBatchPredictionResult> updateBatchPredictionAsync(UpdateBatchPredictionRequest request, AsyncHandler<UpdateBatchPredictionRequest, UpdateBatchPredictionResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Updates the
BatchPredictionName
of aBatchPrediction
.You can use the GetBatchPrediction operation to view the contents of the updated data element.
- Specified by:
updateBatchPredictionAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateBatchPrediction operation returned by the service.
-
updateDataSourceAsync
Description copied from interface:AmazonMachineLearningAsync
Updates the
DataSourceName
of aDataSource
.You can use the GetDataSource operation to view the contents of the updated data element.
- Specified by:
updateDataSourceAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
-
updateDataSourceAsync
public Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest, UpdateDataSourceResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Updates the
DataSourceName
of aDataSource
.You can use the GetDataSource operation to view the contents of the updated data element.
- Specified by:
updateDataSourceAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
-
updateEvaluationAsync
Description copied from interface:AmazonMachineLearningAsync
Updates the
EvaluationName
of anEvaluation
.You can use the GetEvaluation operation to view the contents of the updated data element.
- Specified by:
updateEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the UpdateEvaluation operation returned by the service.
-
updateEvaluationAsync
public Future<UpdateEvaluationResult> updateEvaluationAsync(UpdateEvaluationRequest request, AsyncHandler<UpdateEvaluationRequest, UpdateEvaluationResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Updates the
EvaluationName
of anEvaluation
.You can use the GetEvaluation operation to view the contents of the updated data element.
- Specified by:
updateEvaluationAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateEvaluation operation returned by the service.
-
updateMLModelAsync
Description copied from interface:AmazonMachineLearningAsync
Updates the
MLModelName
and theScoreThreshold
of anMLModel
.You can use the GetMLModel operation to view the contents of the updated data element.
- Specified by:
updateMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the UpdateMLModel operation returned by the service.
-
updateMLModelAsync
public Future<UpdateMLModelResult> updateMLModelAsync(UpdateMLModelRequest request, AsyncHandler<UpdateMLModelRequest, UpdateMLModelResult> asyncHandler) Description copied from interface:AmazonMachineLearningAsync
Updates the
MLModelName
and theScoreThreshold
of anMLModel
.You can use the GetMLModel operation to view the contents of the updated data element.
- Specified by:
updateMLModelAsync
in interfaceAmazonMachineLearningAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateMLModel operation returned by the service.
-