In other words, the first category will be assigned the number 0 and the last category a value of N-1.Documentation Index
Fetch the complete documentation index at: https://docs.graphext.com/llms.txt
Use this file to discover all available pages before exploring further.
Usage
The following example shows how the step can be used in a recipe.Examples
Examples
- Example 1
- Signature
Encode department names as numeric codes
Inputs & Outputs
The following are the inputs expected by the step and the outputs it produces. These are generally columns (ds.first_name), datasets (ds or ds[["first_name", "last_name"]]) or models (referenced
by name e.g. "churn-clf").
Inputs
Inputs
A categorical column.
Outputs
Outputs
A numeric column where labels have been replaced with values between 0 and N-1.
Configuration
The following parameters can be used to configure the behaviour of the step by including them in a json object as the last “input” to the step, i.e.step(..., {"param": "value", ...}) -> (output).
Parameters
Parameters
This step doesn’t expect any configuration.