AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A simplified client that just does realtime predictions.
Namespace: Amazon.MachineLearning.Util
Assembly: AWSSDK.MachineLearning.dll
Version: 3.x.y.z
public class RealtimePredictor IDisposable
The RealtimePredictor type exposes the following members
Name | Description | |
---|---|---|
RealtimePredictor(IAmazonMachineLearning, string) |
Constructs a RealtimePredictor which will use the passed in client to make requests. |
|
RealtimePredictor(IAmazonMachineLearning, string, string) |
Constructs a RealtimePredictor which will use the passed in client to make requests. |
|
RealtimePredictor(string) |
Constructs a RealtimePredictor which construct a client using configured defaults. |
Name | Type | Description | |
---|---|---|---|
Endpoint | System.String |
The realtime prediction endpoint for the given MLModel. |
|
ModelId | System.String |
The Id of the MachineLearning model. |
Name | Description | |
---|---|---|
Dispose() |
Disposes of all managed and unmanaged resources. |
|
GetEndpointAsync() |
The realtime prediction endpoint for the given MLModel. |
|
Predict(Dictionary<String, String>) |
Generates a prediction for an observation. |
|
PredictAsync(Dictionary<String, String>, CancellationToken) |
Initiates the asynchronous execution of the Predict operation. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5