Example usage for com.amazonaws.services.machinelearning AmazonMachineLearningClient AmazonMachineLearningClient

List of usage examples for com.amazonaws.services.machinelearning AmazonMachineLearningClient AmazonMachineLearningClient

Introduction

In this page you can find the example usage for com.amazonaws.services.machinelearning AmazonMachineLearningClient AmazonMachineLearningClient.

Prototype

AmazonMachineLearningClient(AwsSyncClientParams clientParams) 

Source Link

Document

Constructs a new client to invoke service methods on Amazon Machine Learning using the specified parameters.

Usage

From source file:AndroidRealtimePrediction.java

License:Open Source License

public AndroidRealtimePrediction(String mlModelId, AWSCredentials credentials) {
    this.mlModelId = mlModelId;
    this.client = new AmazonMachineLearningClient(credentials);
    getRealtimeEndpoint(); // look up and cache the realtime endpoint for this model
}