MLCloudModel

class NatML.MLCloudModel : MLModel

The MLCloudModel represents an ML model that makes predictions on NatML's cloud infrastructure. As such, it forms the basis for implementing cloud predictors in code.

Creating the Model

/// <summary>
/// Create a cloud ML model.
/// </summary>
/// <param name="tag">Predictor tag.</param>
/// <param name="accessKey">NatML access key.</param>
static Task<MLCloudModel> Create (string tag, string accessKey = null);

The model can be created from a predictor on NatML Hub:

NatML Hub predictor catalog.
circle-info

The predictor MUST have an active prediction endpoint.

Making Predictions

The MLCloudModel model defines a Predict method which makes predictions on one or more MLCloudFeature instances.

circle-exclamation

Disposing the Model

Refer to the Disposing the Model section of the MLModel class for more information.

Last updated