Usage
The following examples show how the step can be used in a recipe.Examples
Examples
- Example 1
- Example 2
- Signature
Merge embedding links with FK links, giving FK links 5x weight
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 dataset containing the link column pairs to merge.
Outputs
Outputs
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
Pairs of [target_column, weight_column] names to merge.
Each entry is a two-element array with the names of the target and weight
columns forming a link pair. E.g., [[“targets_a”, “weights_a”], [“targets_b”, “weights_b”]].
Weight multiplier for each link pair.
Optional list of multipliers (one per link pair). Each link pair’s weights
will be multiplied by the corresponding value. Defaults to 1.0 for all pairs.
Array items
Array items
Each item in array.Values must be in the following range: