One Hot Encoding Machine Learning Tool
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
- 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.
- In Transformer, select the transformation type you want to configure.
- 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.
- Review the encodable columns.
- Select the columns you want to encode as numeric.
Run the workflow to apply the configuration.
Machine Learning Tools
Definitions for Machine Learning Tools
Steps in Assisted Modeling
Select Target and Machine-Learning Method
Other Machine Learning Tools
One Hot Encoding Machine Learning Tool
Fit Tool Machine Learning Tool