Amazon.MachineLearning.AmazonMachineLearningClient.UpdateMLModelAsync C# (CSharp) Метод

UpdateMLModelAsync() публичный Метод

Updates the MLModelName and the ScoreThreshold of an MLModel.

You can use the GetMLModel operation to view the contents of the updated data element.

/// An error on the server occurred when trying to process a request. /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// A specified resource cannot be located. ///
public UpdateMLModelAsync ( string mlModelId, string mlModelName, float scoreThreshold, System cancellationToken = default(CancellationToken) ) : Task
mlModelId string The ID assigned to the MLModel during creation.
mlModelName string A user-supplied name or description of the MLModel.
scoreThreshold float The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<UpdateMLModelResponse> UpdateMLModelAsync(string mlModelId, string mlModelName, float scoreThreshold, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new UpdateMLModelRequest();
            request.MLModelId = mlModelId;
            request.MLModelName = mlModelName;
            request.ScoreThreshold = scoreThreshold;
            return UpdateMLModelAsync(request, cancellationToken);
        }

Same methods

AmazonMachineLearningClient::UpdateMLModelAsync ( UpdateMLModelRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonMachineLearningClient