LearningModelPreview.EvaluateFeaturesAsync(IMap<String, Object>, String) LearningModelPreview.EvaluateFeaturesAsync(IMap<String, Object>, String) LearningModelPreview.EvaluateFeaturesAsync(IMap<String, Object>, String) LearningModelPreview.EvaluateFeaturesAsync(IMap<String, Object>, String) LearningModelPreview.EvaluateFeaturesAsync(IMap<String, Object>, String) Method

Definition

Deprecated. Asynchronously evaluates names variable instances as the inputs and outputs for the model.

public : IAsyncOperation<LearningModelEvaluationResultPreview> EvaluateFeaturesAsync(IMap<Platform::String, Platform::Object> features, Platform::String correlationId)
IAsyncOperation<LearningModelEvaluationResultPreview> EvaluateFeaturesAsync(IMap<winrt::hstring, winrt::Windows::Foundation::IInspectable> features, winrt::hstring correlationId) const;
public IAsyncOperation<LearningModelEvaluationResultPreview> EvaluateFeaturesAsync(IDictionary<String, Object> features, String correlationId)
Public Function EvaluateFeaturesAsync(features As IDictionary(Of String, Object), correlationId As String) As IAsyncOperation(Of LearningModelEvaluationResultPreview)
Windows.AI.MachineLearning.Preview.LearningModelPreview.evaluateFeaturesAsync(features, correlationId).done( /* Your success and error handlers */ );

Parameters

features
IDictionary<String, Object> IDictionary<String, Object> IDictionary<String, Object>

The features to bind as inputs.

correlationId
String String String

The value to correlate the evaluation with the output results.

Returns

Remarks

Warning

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

Prior to evaluation, this method performs and internal check onn feature constraints and binds the features as inputs. This is an alternative separately binding then evaluating the model, streamlining the validation and creation of workspace resources.