AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
 
A simplified client that just does realtime predictions.

Inheritance Hierarchy

System.Object
  Amazon.MachineLearning.Util.RealtimePredictor

Namespace: Amazon.MachineLearning.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class RealtimePredictor : Object
         IDisposable

The RealtimePredictor type exposes the following members

Constructors

NameDescription
Public Method RealtimePredictor(IAmazonMachineLearning, string) Constructs a RealtimePredictor which will use the passed in client to make requests.
Public Method RealtimePredictor(IAmazonMachineLearning, string, string) Constructs a RealtimePredictor which will use the passed in client to make requests.
Public Method RealtimePredictor(string) Constructs a RealtimePredictor which construct a client using configured defaults.

Properties

NameTypeDescription
Public Property Endpoint System.String The realtime prediction endpoint for the given MLModel.
Public Property ModelId System.String The Id of the MachineLearning model.

Methods

NameDescription
Public Method BeginPredict(Dictionary<String, String>, AsyncCallback, object) Initiates the asynchronous execution of the Predict operation.
Public Method Dispose() Disposes of all managed and unmanaged resources.
Public Method EndPredict(IAsyncResult) Finishes the asynchronous execution of the Predict operation.
Public Method Predict(Dictionary<String, String>) Generates a prediction for an observation.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5