# How to use this accelerator
# Train ML model
Follow these steps to train an ML (machine learning) model.
In Workato, create a new recipe.
Choose a trigger according to your use case.
Add an action and app. Select AIML Accelerator as the application and Train AIML Model as the action.
Select a Model Identifier as defined in the AIML | Data Fields lookup table.
Configure an if condition to check for the is_success flag. The is_success flag returns true if the preceding action was successful and false if it was unsuccessful.
Add the actions for success or failure accordingly. For example, if is_success returns as false, you may decide to send a Slack message or email notification.
Click Save.
Click Test to run the recipe.
# Stage training data
In Workato, create a new recipe.
Choose a trigger according to your use case.
Add an action and app. Select AIML Accelerator as the application and Train AIML Model as the action.
Select a Model Identifier as defined in the AIML | Data Fields lookup table.
Configure an if condition to check for the is_success flag. The is_success flag returns true if the preceding action was successful and false if it was unsuccessful.
Add the actions for success or failure accordingly. For example, if is_success returns as false, you may decide to send a Slack message or email notification.
Click Save.
Click Test to run the recipe.
# Get a prediction
Follow these steps to get a prediction.
In Workato, create a recipe.
Add an action and an app. Select AIML Accelerator as the application and Train AIML Model as the action.
Select the Model Identifier as defined in the AIML | Data Fields lookup table.
Load the values from the fields in the AIML|Data Fields lookup table into the input fields. Ensure the values match the corresponding Model Identifier. If fields are missing, check the AIML | Data Fields lookup table.
Configure an if condition to check for the is_success flag. The is_success flag returns true if the preceding action was successful and false if it was unsuccessful.
Add the actions for success or failure accordingly. For example, if is_success returns as false, you may decide to send a Slack message or email notification.
Click Save.
Click Test to run the recipe.
Last updated: 12/28/2022, 5:28:45 AM