
Machine Learning Predict
Use the Machine Learning Predict tool to use models you've built in Alteryx Machine Learning to make predictions about new data.
Install the Tool
To install the Machine Learning Predict tool in Designer...
- Go to the downloads page.
- Go to Alteryx Intelligence Suite > Alteryx Intelligence Suite (your Designer version).
- Note that you must have Designer 21.3 or higher installed.
- Download the Alteryx Machine Learning Designer Integration Tools YXI file.
- Open Designer with the "Run as Administrator" option enabled.
- Open the YXI file to start the installation process.
- Note that the Machine Learning Predict tool appears in the Laboratory tool palette.
The integration tools are separate from the tools included in Alteryx Intelligence Suite.
tool Example
There is an example workflow for the Machine Learning Predict tool in the Alteryx Starter Kit for Intelligence Suite. To use the workflow:
- Go to the downloads page.
- Then go to Starter Kits > Alteryx Starter Kit for Intelligence Suite.
- Download and install the Alteryx Starter Kit for Intelligence Suite EXE file.
- Once installed, open Designer and go to Help > Sample Workflows > Intelligence Suite Starter Kit > (your language).
- Select "Part 2: Scoring New Data with an Alteryx Machine Learning Model" to open the example workflow.
- Note that you must first run the "Part 1" workflow for the Machine Learning Send tool to build the model.
Configure the Tool
Connect to Alteryx Machine Learning
- Enter the URL you use to access your Alteryx Machine Learning account.
- Select Sign In.
If you see Sign In Using SSO…
- You don’t need to complete additional steps unless you're using Server and Data Connection Manager (DCM).
- If you're using Server and DCM, follow these steps to enable DCM and configure your data sources.
- Once you are successfully connected to your account, the tool displays an "Authentication Verified" message.
- To change credentials, select Change Credentials.
If you see Sign in Using Trifacta Token…
- First, you need to create an access token if you don’t already have one. Follow these steps to create one from the platform home page.
- Next, add a new data source in the Connection Manager. The Connection Manager should appear after you enter the URL for the first time.
- To open the Connection Manager, go to File > Manage Connections.
- Select + Add Data Source.
- Enter a Data Source Name.
- Under Technology, select Trifacta Auth if not already selected.
- Select Save.
- Within your new data source page under Connections, select Access Token under Authentication Method.
- Check the Allow connection for SDK box.
- Under Credential, select your authorization credential.
- If you don’t have an authorization credential, select Create New Credential.
- Enter a Credential Name.
- Enter your Access Token from step 1.
- Select Create and Link.
- Select Link.
- Once you are successfully connected to your account, the tool displays an "Authentication Verified" message.
- To change credentials, select Change Credentials.
Modeling Selection
-
Prepare your new data for model prediction.
-
Make sure to remove the target variable from your dataset.
-
Match column names and data types to the dataset used to train your model.
-
-
From the Machine Learning Predict tool, select the model you want to apply to your new data by selecting your Project.
-
The Project Details, Model Details, and Ranking Metrics are all filled in from the model you've built in Alteryx Machine Learning.
-
-
Select Run to apply the model to your new data.
-
The Machine Learning Predict tool creates new columns of data in the output, which contain predictions.
To avoid type warnings in your workflow, use a typing tool like the Select tool or Auto Field tool to change the column type. You can also manually fix type warnings.