List of usage examples for com.amazonaws.services.machinelearning AmazonMachineLearningClient AmazonMachineLearningClient
AmazonMachineLearningClient(AwsSyncClientParams clientParams)
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 }