Usage
The following example shows how the step can be used in a recipe.Examples
Examples
To simply link rows using a default weight of 1.0
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
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
Name of the column acting as the weights of the links.
Must refer to one of the optional columns passed to the step. If
null
, an extra
output column will be created containing a weight of 1.0 for each link defined in
the target column (unless a weight_factor
is applied, in which the weights will
have the corresponding value, see below).Multiply link weights by this number.
If an input column with weights was identified using
weight_column
, the values
in that column will be multiplied by this factor. If no weights were passed in,
the newly added weights will all have this value.