Share via


LearningModelPreview.EvaluateAsync Method

Definition

Deprecated. Asynchronously evaluate the machine learning model using the feature value already bound in binding.

public:
 virtual IAsyncOperation<LearningModelEvaluationResultPreview ^> ^ EvaluateAsync(LearningModelBindingPreview ^ binding, Platform::String ^ correlationId) = EvaluateAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<LearningModelEvaluationResultPreview> EvaluateAsync(LearningModelBindingPreview const& binding, winrt::hstring const& correlationId);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
IAsyncOperation<LearningModelEvaluationResultPreview> EvaluateAsync(LearningModelBindingPreview const& binding, winrt::hstring const& correlationId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<LearningModelEvaluationResultPreview> EvaluateAsync(LearningModelBindingPreview binding, string correlationId);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("Use ILearningModel instead of ILearningModelPreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
public IAsyncOperation<LearningModelEvaluationResultPreview> EvaluateAsync(LearningModelBindingPreview binding, string correlationId);
function evaluateAsync(binding, correlationId)
Public Function EvaluateAsync (binding As LearningModelBindingPreview, correlationId As String) As IAsyncOperation(Of LearningModelEvaluationResultPreview)

Parameters

binding
LearningModelBindingPreview

The value bound to the named input and output features.

correlationId
String

Platform::String

winrt::hstring

Optional user-supplied string to connect the output results.

Returns

A LearningModelEvaluationResultPreview from the evaluation.

Attributes

Remarks

Warning

This is a deprecated API. Please use the Windows.AI.MachineLearning namespace instead.

Applies to