One Hot Encoder
Represent unique column values as a series of columns consisting of 1's and 0's.
Use the One Hot Encoder tool to categorize values in your data. Represent unique column values as a series of columns consisting of 1's and 0's.
Input
The One Hot Encoder tool requires one data input.
Configuration
Use the following configuration options to configure the One Hot Encoder tool.
Go to the Pipes module from the side navigation bar.
From the Pipes tab, click an existing pipe to open, or create a new pipe. To create a new pipe, read the Creating a pipe documentation.
In the Pipe builder, add at least one data source to your pipe. For more information on adding a data source, see the Data tool.
Click
+ Tool.
The Tools modal opens where you can add tools, such as the Aggregate tool to your pipe.
In the Tools modal, search for One Hot Encoder and then click + Add tool.
Tip
You can also find the One Hot Encoder tool in the Clean section.
Click the tool node and drag the line to the next tool to connect the tools. If you need to undo the action, click the line and then click Unlink.
In the configuration pane, go to the Columns to encode drop-down field, and select the columns you want, or select all or none.
The new columns categorizing your data are appended to your data set.