One Hot Encoding Machine Learning Tool

Use of the Assisted Modeling tool requires participation in the Alteryx Analytics Beta program. Visit the the Alteryx beta program, also known as the Alteryx Customer Feedback Program, to find out more. All Alteryx Beta Program notifications and disclaimers apply to this content. Functionality described here may or may not be available as part of the Beta Program. To send feedback about the documentation, send an email message to helpfeedback@alteryx.com.

This tool takes categorical variables and encodes them into numeric variables to make them suitable for modeling.

Before using the tool

Start with an existing workflow. You should first clean and prep your dataset. Once your dataset contains only the relevant data you need for your business use case, then start building a pipeline using the Machine Learning tools.

Add the tool

  1. Click the Transformation tool in the Machine Learning tool palette. Drag it to the workflow canvas, and connect it to your workflow.
    A start pipeline tool is required for the transformation to function. Your workflow should contain a start pipeline tool such as the Start Pipeline tool or the Assisted Modeling tool prior to starting a data transformation.
  1. In Transformer, select the transformation type you want to configure.
  2. Configure the tool.

Configure the tool

Configure the parameters. Understand the parameters before changing them. For best practices, avoid making assumptions, and use a test dataset to assess the performance of your model whether your objective is prediction or not.

To find out more about a parameter, click the parameter's tooltip.
  1. Review the encodable columns.
  2. Select the columns you want to encode as numeric.

Run the workflow to apply the configuration.

Machine Learning Tools

Assisted Modeling

Expert Modeling

Definitions for Machine Learning Tools

Steps in Assisted Modeling

Select Target and Machine-Learning Method

Set Data Types

Clean Up Missing Values

Select Features

Select Algorithms

Other Machine Learning Tools

Predict Tool

One Hot Encoding Machine Learning Tool

Fit Tool Machine Learning Tool

Transformation Tool

Data Typing Transformer

Missing Value Imputation Transformer

Feature Selection Transformer

Classifiers

Classification Tool

Logistic Regression Classifier

Random Forest Classifier

Decision Tree Classifier

Regressors

Regression Machine Learning Tool

Linear Regression

Random Forest Regression

Decision Tree Regression