Machine Learning Predict

Version:
2022.1
Last modified: September 21, 2022

Use the Machine Learning Predict tool to use models you've built in Alteryx Machine Learning to make predictions about new data.

Tool Components

The Machine Learning Predict tool has 2 anchors.

  • Input anchor: The input anchor connects to the data you want to make predictions about.
  • P anchor: The P anchor outputs new columns of data, which contain predictions.

Download the Tool

To use the Machine Learning Predict tool in Designer, download and install the Alteryx Machine Learning Designer Integration Tools. Go to the downloads page, then Alteryx Intelligence Suite > Alteryx Intelligence Suite (your Designer version).

You must have Designer 21.3 or higher installed to use the Machine Learning Predict tool.

Configure the Tool

Connect to Alteryx Machine Learning

  1. Enter the URL you use to access your Alteryx Machine Learning account.
  2. Select Sign In.

If you see Sign In Using SSO

  1. You don’t need to complete additional steps.
  2. Once you are successfully connected to your account, the tool displays an "Authentication Verified" message.
  3. To change credentials, select Change Credentials.

If you see Sign in Using Trifacta Token

  1. 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.
  2. Next, add a new data source in the Connection Manager. The Connection Manager should appear after you enter the URL for the first time.
    1. To open the Connection Manager, go to File > Manage Connections.
  3. Select + Add Data Source.
  4. Enter a Data Source Name.
  5. Under Technology, select Trifacta Auth if not already selected.
  6. Select Save.
  7. Within your new data source page under Connections, select Access Token under Authentication Method.
  8. Check the Allow connection for SDK box.
  9. Under Credential, select your authorization credential.
  10. If you don’t have an authorization credential, select Create New Credential.
    1. Enter a Credential Name.
    2. Enter your Access Token from step 1.
  11. Select Create and Link.
  12. Select Link.
  13. Once you are successfully connected to your account, the tool displays an "Authentication Verified" message.
  14. To change credentials, select Change Credentials.

Modeling Selection

  1. Prepare your new data for model prediction.

    1. Make sure to remove the target variable from your dataset.

    2. Match column names and data types to the dataset used to train your model.

  2. From the Machine Learning Predict tool, select the model you want to apply to your new data by selecting your Project.

    1. The Project Details, Model Details, and Ranking Metrics are all filled in from the model you've built in Alteryx Machine Learning.

  3. Select Run to apply the model to your new data.

  4. 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.

Was This Page Helpful?

Running into problems or issues with your Alteryx product? Visit the Alteryx Community or contact support. Can't submit this form? Email us.