Create network links using one or more lists of target ids.
link_rows
for creating weighted networks. All link weights will
be set to 1.0 by default. But see the weight_factor param to specify another constant instead.
Examples
ds
, where each row is associated with a twitter user (identified by column account_id
), the following line connects each of these users with other users specified in columns reply_ids
and mention_ids
.ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
Outputs
targets
column (counting how many times a consecutive
pair of items was found together in the sequences).step(..., {"param": "value", ...}) -> (output)
.
Parameters