Compartilhar via


LearningModelPreview.EvaluateAsync Método

Definição

Preterido. Avalie de forma assíncrona o modelo de machine learning usando o valor do recurso já associado à associação.

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)

Parâmetros

binding
LearningModelBindingPreview

O valor associado aos recursos de entrada e saída nomeados.

correlationId
String

Platform::String

winrt::hstring

Cadeia de caracteres opcional fornecida pelo usuário para conectar os resultados de saída.

Retornos

Um LearningModelEvaluationResultPreview da avaliação.

Atributos

Comentários

Aviso

Essa é uma API preterida. Use o namespace Windows.AI.MachineLearning .

Aplica-se a