One Rule Inserter

This node inserts one specific rule into the given sets. A rule has the form of A=>B. In this case A and B are subparts of your list of items. (Please enter them as a list in the two text fields. There is no need for the items in B to be in one of the lists already. If the items in A are not in one of the lists, the node will just return the input data table.)

Options

Seed
the random seed to produce a deterministic result
A
the item set A (each item in a new line). You have to precheck that the support of A is already given. You can "magically" increase the support of an item set by using the random label assigner (if your data is in a table) or the Random Item Inserter if your data is in list form.
B
the item set B (each item in a new line) These items do not have to be in your item set. They will be inserted anyway.
Collection
the column containing the list/sets of items
Fix list sizes.
If selected, the node replaces other items of your set to insert the items in B. Otherwise, they are simply added to the end of your list, which will naturally increase the size of some of your lists.
Prob(B|A)
the probability that the item set B is inserted when the item set A is found in the cell. This reflects the confidence of your rule.

Input Ports

Icon
Data containing one collection column

Output Ports

Icon
Collection column with new rule magically inserted.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.