View source: R/run_apriori_rules_modifiers.R
run_apriori_rules_modifiers | R Documentation |
This function takes in a factorized Boolean matrix and generate rules that meet all the user provided criteria while restricting the RHS of the rule based on the list of variables allowed in RHS provided by the calling function.
run_apriori_rules_modifiers( apriori_input_df, combo_length, support_threshold, input_colname_list, output_colname_list = output_colname_list )
apriori_input_df |
An input factorized Boolean dataframe with multiple input and outcome variables |
combo_length |
The length of the combinations specified by the user |
support_threshold |
Minimum support value calculated based on the minimum absolute observed frequency threshold specified by the user |
input_colname_list |
A list of column names that identify the input variables |
output_colname_list |
Optional | A list of column names that identify the outcome variables |
This is a function leveraged by few of the four main methods available to the users.
A list of rules that meet all the constraints supplied to the apriori algorithm
Vijay Kumar Pounraja
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.