Skip to content

Instantly share code, notes, and snippets.

@rrblogdatascience
Created August 26, 2014 19:43
SQL to run association rule mining in MADlib
CREATE SCHEMA ar_groceries_results;
SELECT * FROM madlib.assoc_rules( .001,
.5,
'trans_id',
'product',
'groceries_data',
'ar_groceries_results',
TRUE
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment