Step Details | |
Introduced in Version | 9.0.0 |
Last Modified in Version | 9.0.0 |
Location | Integration > Amazon AWS > Machine Learning |
The Predict Using Model step is used to use a specified model to predict an outcome based on how the specified model was trained.
Prerequisites
- This step requires the Amazon AWS Module to be installed before it will be available in the toolbox, and an active AWS account. The Amazon WebServices Settings must also be configured.
- A dependency must be created after installing the module in order for the the steps to be properly used.
AWS Machine Learning is only available to preexisting customers that previously had access to this process. If access to the Machine Learning process is unavailable, consider using Amazon SageMaker as an alternative.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Model Data | List of data constructed in correlation with the model for predicting. | List of MachineLearningModelData |
Model Id | Id of the model to use for predicting. | String |
Predict Endpoint | Intended point for the prediction to be calculated to. | String |
Region | The Amazon AWS Region the model is located in. | Amazon AWSRegion |
Outputs
Property | Description | Data Type | |
---|---|---|---|
Done | |||
Output | Outputted complete prediction made from the inputted information. | String |
Common Errors
The Security Token Included in the Request is Invalid
If the token being used is expired or does not exist, the step will cause an error.
To correct this, input an active Machine Learning token.
Exception Message:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Delete Model 1[DeleteModel] in flow [Machine Learning Steps Flow]: Exception invoking method DeleteModel on class MachineLearningSteps
---> DecisionsFramework.LoggedException: Exception invoking method DeleteModel on class MachineLearningSteps
---> Amazon.MachineLearning.AmazonMachineLearningException: The security token included in the request is invalid.
---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
--- End of inner exception stack trace ---
Related Information
Related Article: