Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
How do I to decide the pattern of itemset(trans).
output--
Rule | Pre | Post | Sup | Con...
-------------------------------------
1 |
|
{B} | 0.2 | 0.32 |{A,B}|{C} | 0.1 | 0.4
3 |{B}
|
{A,C} | 0.4 | 0.2
4 |
|
{D} | 0.1 | 0.1
------
If I only want one kind of item in Pre and Post, what do I do in this function as follows.
sql----
SELECT * FROM madlib.assoc_rules( .25,
.5,
'trans_id',
'product',
'test_data',
'myschema',
TRUE
);
Is that only one method to filter the results?